Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iii2Q-0000hd-0h for qemu-devel@nongnu.org; Thu, 18 Oct 2007 22:56:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iii2O-0000g6-IA for qemu-devel@nongnu.org; Thu, 18 Oct 2007 22:56:37 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iii2O-0000g3-EA for qemu-devel@nongnu.org; Thu, 18 Oct 2007 22:56:36 -0400 Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Iii2N-00038q-IE for qemu-devel@nongnu.org; Thu, 18 Oct 2007 22:56:36 -0400 Date: Fri, 19 Oct 2007 04:56:20 +0000 From: Simon Peter Message-Id: <20071019045620.ed157768.simon.peter@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Debugging x86-64 apps from a 32bit host? 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 Hi, is it possible to debug e.g. a x86-64 Linux kernel running in qemu-system-x86_64 on a 32bit host from that host with GDB? I cross-compiled a version of GDB with x86-64 support, so it can load the debugging symbols from the kernel (which is an ELF64 binary) and attached that to a running qemu-system-x86_64, but it always tells me the instruction pointer is at 0x0. Is this supported by QEMU? Thanks, Simon