public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* GDB remote protocol on ethernet, timeout values
@ 2003-05-28 20:57 Torsten Mohr
  2003-05-29  2:32 ` Peter Reilley
  0 siblings, 1 reply; 2+ messages in thread
From: Torsten Mohr @ 2003-05-28 20:57 UTC (permalink / raw)
  To: gdb

Hi,

is there any way to increase the timeout values
for answers to packets that are sent over ethernet?

One more thing:
I wrote some code that understands DGB remote protocol.
It is strange, when i additionally add a "sleep(2)"
after receiving a packet, but don't change anything
else in my code, insight complains about the answer
to "qOffsets" -> "Text=00;Data=00;Bss=00".
If there is no additional delay, all is fine.  Insight
complains about a missing ":".


Best regards,
Torsten.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GDB remote protocol on ethernet, timeout values
  2003-05-28 20:57 GDB remote protocol on ethernet, timeout values Torsten Mohr
@ 2003-05-29  2:32 ` Peter Reilley
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Reilley @ 2003-05-29  2:32 UTC (permalink / raw)
  To: Torsten Mohr, gdb

Torsten;

There is a -l flag that lets you set the timeout.
However, that code is commented out in the released
version of the code.   I had to re-enable the code
for some timeout problems that I was having.
Look in main.c

Pete.


----- Original Message ----- 
From: "Torsten Mohr" <tmohr@s.netic.de>
To: "gdb" <gdb@sources.redhat.com>
Sent: Wednesday, May 28, 2003 4:48 PM
Subject: GDB remote protocol on ethernet, timeout values


Hi,

is there any way to increase the timeout values
for answers to packets that are sent over ethernet?

One more thing:
I wrote some code that understands DGB remote protocol.
It is strange, when i additionally add a "sleep(2)"
after receiving a packet, but don't change anything
else in my code, insight complains about the answer
to "qOffsets" -> "Text=00;Data=00;Bss=00".
If there is no additional delay, all is fine.  Insight
complains about a missing ":".


Best regards,
Torsten.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-29  2:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-28 20:57 GDB remote protocol on ethernet, timeout values Torsten Mohr
2003-05-29  2:32 ` Peter Reilley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).