This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
GDB remote debug
- To: gdb at sources dot redhat dot com
- Subject: GDB remote debug
- From: Tong Chi Wa <cwtong at se dot cuhk dot edu dot hk>
- Date: Thu, 1 Feb 2001 11:42:24 +0800 (HKT)
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