# HG changeset patch # User Gareth Stockwell # Date 1283786743 -3600 # Node ID 3bc1a978be441a0af493b34ffbf60ff88686d9ae # Parent 70ccc05e6c8c35bfe1159ee331b8b472bda80e5e Fix for Bug 3671 - QEMU GDB stub listens on IPv6-only port on Windows 7 The connection string used by the GDB stub does not specify which version of the Internet Protocol should be used by the port on which it listens. On host platforms with IPv6 support, such as Windows 7, this means that the stub listens on an IPv6-only port. Since the GDB client uses IPv4, this means that the client cannot connect to QEMU. diff -r 70ccc05e6c8c -r 3bc1a978be44 symbian-qemu-0.9.1-12/qemu-symbian-svp/gdbstub.c --- a/symbian-qemu-0.9.1-12/qemu-symbian-svp/gdbstub.c Tue Sep 07 23:21:20 2010 +0100 +++ b/symbian-qemu-0.9.1-12/qemu-symbian-svp/gdbstub.c Mon Sep 06 16:25:43 2010 +0100 @@ -2291,7 +2291,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:127.0.0.1:%d,nowait,nodelay,server", port_num); port = gdbstub_port_name; }