From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRwss-0003A8-S3 for qemu-devel@nongnu.org; Tue, 27 Jan 2009 17:58:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRwsq-00039w-KM for qemu-devel@nongnu.org; Tue, 27 Jan 2009 17:58:17 -0500 Received: from [199.232.76.173] (port=59366 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRwsq-00039t-Dz for qemu-devel@nongnu.org; Tue, 27 Jan 2009 17:58:16 -0500 Received: from mail-qy0-f20.google.com ([209.85.221.20]:36075) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRwsq-0006ta-1I for qemu-devel@nongnu.org; Tue, 27 Jan 2009 17:58:16 -0500 Received: by qyk13 with SMTP id 13so10904886qyk.10 for ; Tue, 27 Jan 2009 14:58:14 -0800 (PST) Message-ID: <497F9177.6050008@codemonkey.ws> Date: Tue, 27 Jan 2009 16:57:59 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [RESEND][PATCH] gdbstub: listen on ipv4 address References: <6DF473C7837D4A31A3A6AF10F70F0F63@FSCPC> <497E350B.6080003@codemonkey.ws> <60118371B6BE4B52AEAE1C778543354A@FSCPC> In-Reply-To: <60118371B6BE4B52AEAE1C778543354A@FSCPC> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Sebastian Herbszt wrote: > Anthony Liguori wrote: >> Sebastian Herbszt wrote: >>> Make gdbstub listen on ipv4 address like before r5697. >> >> Any reason to make it explicit? > > There seems to be no support for IPv6 in gdb. Are you unable to connect without the ipv4 option? My understanding was that we shouldn't explicitly need this option. Regards, Anthony Liguori > >> BTW, the patch needs a signed-off-by. > > Signed-off-by: Sebastian Herbszt > > - Sebastian > >> Regards, >> >> Anthony Liguori >> >>> - Sebastian >>> >>> --- qemu-r6133/gdbstub.c.orig Sat Dec 27 15:57:16 2008 >>> +++ qemu-r6133/gdbstub.c Sat Dec 27 15:57:29 2008 >>> @@ -2276,7 +2276,7 @@ >>> if (*p == 0) { >>> /* A numeric value is interpreted as a port number. */ >>> snprintf(gdbstub_port_name, sizeof(gdbstub_port_name), >>> - "tcp::%d,nowait,nodelay,server", port_num); >>> + "tcp::%d,nowait,nodelay,server,ipv4", port_num); >>> port = gdbstub_port_name; >>> } >>> >>> >>> >>> >> >> >> >> > >