This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
connecting gdb to target
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] connecting gdb to target
- From: Christoph Csebits <Christoph dot Csebits at frequentis dot com>
- Date: Tue, 22 May 2001 16:39:34 +0200
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