qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: bahadir balban <bbalban@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Remove the default "nowait" option from gdb stubs tcp connection
Date: Tue, 9 Jun 2009 16:12:05 +0300	[thread overview]
Message-ID: <7c85e0b50906090612r77562e66n81322ab191ba7c6c@mail.gmail.com> (raw)

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

             reply	other threads:[~2009-06-09 13:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-09 13:12 bahadir balban [this message]
2009-06-09 13:30 ` [Qemu-devel] [PATCH] Remove the default "nowait" option from gdb stubs tcp connection 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7c85e0b50906090612r77562e66n81322ab191ba7c6c@mail.gmail.com \
    --to=bbalban@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).