From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyHm9-00079J-5O for qemu-devel@nongnu.org; Mon, 16 Nov 2015 06:16:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyHm4-0006SY-2c for qemu-devel@nongnu.org; Mon, 16 Nov 2015 06:16:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyHm3-0006SO-Th for qemu-devel@nongnu.org; Mon, 16 Nov 2015 06:16:40 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id C2BC08E6EF for ; Mon, 16 Nov 2015 11:16:38 +0000 (UTC) Date: Mon, 16 Nov 2015 12:16:34 +0100 From: Marc =?UTF-8?B?TWFyw60=?= Message-ID: <20151116121634.732ffabb@markmb_rh> In-Reply-To: <20151116084448-mutt-send-email-mst@redhat.com> References: <20151116020441.62aa74e9@markmb_rh> <20151116084448-mutt-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Bug with GDB from commit ca3e40e List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel On Mon, 16 Nov 2015 08:45:09 +0200 "Michael S. Tsirkin" wrote: > On Mon, Nov 16, 2015 at 02:04:41AM +0100, Marc Mar=C3=AD wrote: > > Hi > >=20 > > I was trying to debug some stuff in the bootloader and the > > optionrom, and I found a bug with QEMU and GDB. In commit ca3e40e > > (a pull request from Michael), I get this: > >=20 > > x86_64-softmmu/qemu-system-x86_64 --enable-kvm \ > > -kernel /boot/vmlinuz-4.1.7-200.fc22.x86_64 -s -S > > qemu-system-x86_64: -s: address resolution failed for :: Name or > > service not known > >=20 > > In the previous commit (3c23402) I don't get the error: > > x86_64-softmmu/qemu-system-x86_64 --enable-kvm \ > > -kernel /boot/vmlinuz-4.1.7-200.fc22.x86_64 -s -S > > (Opens QEMU and blocks, as expected, and I can connect GDB) > >=20 > > I cannot see the problem (maybe because it's a bit late). I'll look > > at it again tomorrow, but any help is appreciated. > >=20 > > My system is a Fedora 22, Linux 4.2.5-201, x86_64, and GDB version > > 7.9.1-20. > >=20 > > Thanks > > Marc >=20 > This command line seems to work for me. >=20 Old QEMU version. Issue solved in commit 2ea1793. It seems it has something to do with the port in InetSocketAddress in qapi-schema.json. I should not trace "bugs" until so late. Thanks Marc