qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Remove the default "nowait" option from gdb stubs tcp connection
@ 2009-06-09 13:12 bahadir balban
  2009-06-09 13:30 ` Paul Brook
  2009-06-09 13:43 ` [Qemu-devel] " Jan Kiszka
  0 siblings, 2 replies; 5+ messages in thread
From: bahadir balban @ 2009-06-09 13:12 UTC (permalink / raw)
  To: qemu-devel

Remove the default "nowait" option from gdb stubs tcp connection

The tcp connection in gdb stubs has "nowait" option set by default,
which causes QEMU to continue without waiting for a gdb connection as opposed
to the documented: "-s  Wait gdb connection to port 1234." behaviour.

Signed-off-by: Bahadir Balban <bbalban@b-labs.co.uk>
---

 gdbstub.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gdbstub.c b/gdbstub.c
index 9bd4375..7d9a2f5 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -2396,7 +2396,7 @@ int gdbserver_start(const char *device)
         if (strstart(device, "tcp:", NULL)) {
             /* enforce required TCP attributes */
             snprintf(gdbstub_device_name, sizeof(gdbstub_device_name),
-                     "%s,nowait,nodelay,server", device);
+                     "%s,nodelay,server", device);
             device = gdbstub_device_name;
         }
 #ifndef _WIN32

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

end of thread, other threads:[~2009-06-09 19:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-09 13:12 [Qemu-devel] [PATCH] Remove the default "nowait" option from gdb stubs tcp connection bahadir balban
2009-06-09 13:30 ` Paul Brook
2009-06-09 13:43 ` [Qemu-devel] " Jan Kiszka
2009-06-09 18:58   ` bahadir balban
2009-06-09 19:28     ` Jan Kiszka

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 NNTP newsgroup(s).