GDB remote debug

Tong Chi Wa cwtong@se.cuhk.edu.hk
Wed Jan 31 19:43:00 GMT 2001


Hi,

  I've got a problem in getting GDB remote debug to work
with a eCos based SPARC target over ethernet.

  GDB will connect with the target but will stuck at the 
first memory examine command(x 0x0).

  There is no problem when working over a serial link 
except that on the first memory examine, GDB will
send two request packets with 1-2 seconds in between.
The target responds to both request packets so it looks
like it's GDB missing the first response and is 
resending the request after a timeout. This
does not happen in the following memory examines.

  Would this timeout not work over an ethernet
link and causing problem in remote debugging over
an ethernet link?

  Is there a way to configure this timeout behavior
when building GDB?

Thanks
cwtong




More information about the Gdb mailing list