From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyDXQ-0004i8-8h for qemu-devel@nongnu.org; Mon, 16 Nov 2015 01:45:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZyDXN-0006WZ-1a for qemu-devel@nongnu.org; Mon, 16 Nov 2015 01:45:16 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZyDXM-0006Vd-SF for qemu-devel@nongnu.org; Mon, 16 Nov 2015 01:45:12 -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 77A85811D8 for ; Mon, 16 Nov 2015 06:45:12 +0000 (UTC) Date: Mon, 16 Nov 2015 08:45:09 +0200 From: "Michael S. Tsirkin" Message-ID: <20151116084448-mutt-send-email-mst@redhat.com> References: <20151116020441.62aa74e9@markmb_rh> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20151116020441.62aa74e9@markmb_rh> 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: Marc =?iso-8859-1?Q?Mar=ED?= Cc: qemu-devel On Mon, Nov 16, 2015 at 02:04:41AM +0100, Marc Mar=ED 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 This command line seems to work for me. --=20 MST