This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

connecting gdb to target


hi

i have an MPC860T based board and 
i have working threads and SCC2 serial
driver (diagnostics).
(mbx based port -> cvs version May 7 2001 )

cat /dev/ttyS1 gets 
+

(Ack in initialize_stub)

when inserting breakpoint() in my main
function it gets:

+$T05thread:00000001;40:00026d78;01:000308c4;#63

so far so good (i guess):
But gdb doesnt connect to the target:

starting gdb like this:

(gdb) set remotebaud 115200
(gdb) target remote /dev/ttyS1
Remote debugging using /dev/ttyS1

waits forever.

Another problem is that my board 
is featured with a hardware watchdog
which must be triggered within a second.

Calling breakpoint() stops my watchdog
triggering thread -> board reset.

Any suggestions how to deal with?

best regards, christoph


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]