This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


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

GDB remote debug


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



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