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]

RE: Redboot and gdb



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.  


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