[ECOS] Redboot and gdb
Gary Thomas
gthomas@cambridge.redhat.com
Wed Jun 20 08:24:00 GMT 2001
On 20-Jun-2001 Rajeev murthy wrote:
> hi,
> i have ported (not completely) redboot onto my board which is based on an ARM core using a
> Samsung ucontroller. i'm using linux as the host.i'm able to see the memory dump only as of now.
> i have only one serial port. will i be able to invoke gdb from the same serial channel ? if so
> should the gdb be running in another window. because as soon as i hit the $ key the code seems to
> wait in getc_nonblock for a long time. what's it waiting for?
> will the control now be passed onto gdb for source level debugging?
Exactly. When RedBoot sees the '$' (only at the start of an input line),
it switches to GDB protocol. The '$' indicates the beginning of a GDB
packet. At this point, you should not try to use 'minicom' or any other
direct connection to the board/RedBoot. You should be able to connect
via GDB.
More information about the Ecos-discuss
mailing list