This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Redboot and gdb
- To: Rajeev murthy <rajeev50 at lycos dot com>
- Subject: RE: [ECOS] Redboot and gdb
- From: Gary Thomas <gthomas at cambridge dot redhat dot com>
- Date: Wed, 20 Jun 2001 09:23:49 -0600 (MDT)
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat, Inc.
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.