From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp0wq-0007M8-IQ for qemu-devel@nongnu.org; Sun, 22 Jan 2012 12:11:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rp0wp-0003H9-Nv for qemu-devel@nongnu.org; Sun, 22 Jan 2012 12:11:20 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:38721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp0wp-0003FW-Hl for qemu-devel@nongnu.org; Sun, 22 Jan 2012 12:11:19 -0500 Message-ID: <4F1C432A.3000302@msgid.tls.msk.ru> Date: Sun, 22 Jan 2012 21:11:06 +0400 From: Michael Tokarev MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Failed to use gdb with qemu 15.1 (with and without kvm support) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Francis Moreau Cc: qemu-devel@nongnu.org On 22.01.2012 18:20, Francis Moreau wrote: > Hello, > > I'm trying to debug a 64 bits kernel (3.2) using qemu (with and > without KVM support). The host is also 64 bits. Version of gdb I'm > using is 7.1. I'm not sure how it is relevant but at least last (1.0) qemu is compiled as PIE executable by default, and gdb-7.1 is unable to debug such executables, PIE support has been intruduced in gdb-7.2. You may try recompiling qemu with --disable-pie if that is the case. /mjt