From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ME17d-0001sL-Qs for qemu-devel@nongnu.org; Tue, 09 Jun 2009 09:12:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ME17Y-0001pY-Si for qemu-devel@nongnu.org; Tue, 09 Jun 2009 09:12:13 -0400 Received: from [199.232.76.173] (port=40150 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME17Y-0001pV-Ga for qemu-devel@nongnu.org; Tue, 09 Jun 2009 09:12:08 -0400 Received: from mail-fx0-f219.google.com ([209.85.220.219]:62400) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ME17Y-0001fp-68 for qemu-devel@nongnu.org; Tue, 09 Jun 2009 09:12:08 -0400 Received: by fxm19 with SMTP id 19so3323001fxm.34 for ; Tue, 09 Jun 2009 06:12:06 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 9 Jun 2009 16:12:05 +0300 Message-ID: <7c85e0b50906090612r77562e66n81322ab191ba7c6c@mail.gmail.com> From: bahadir balban Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] Remove the default "nowait" option from gdb stubs tcp connection List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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 oppos= ed to the documented: "-s=A0 Wait gdb connection to port 1234." behaviour. Signed-off-by: Bahadir Balban --- =A0gdbstub.c |=A0=A0=A0 2 +- =A01 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) =A0=A0=A0=A0=A0=A0=A0=A0 if (strstart(device, "tcp:", NULL)) { =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 /* enforce required TCP attributes */ =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 snprintf(gdbstub_device_name, sizeof(g= dbstub_device_name), -=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 "%s,nowait,no= delay,server", device); +=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 "%s,nodelay,s= erver", device); =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 device =3D gdbstub_device_name; =A0=A0=A0=A0=A0=A0=A0=A0 } =A0#ifndef _WIN32