From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FmZ2n-0005wV-7n for qemu-devel@nongnu.org; Sat, 03 Jun 2006 12:32:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FmZ2k-0005vj-MW for qemu-devel@nongnu.org; Sat, 03 Jun 2006 12:32:07 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FmZ2k-0005vg-Hp for qemu-devel@nongnu.org; Sat, 03 Jun 2006 12:32:06 -0400 Received: from [193.1.169.34] (helo=dakota.ucd.ie) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FmZ9T-0001AO-QS for qemu-devel@nongnu.org; Sat, 03 Jun 2006 12:39:03 -0400 Received: from conversion-daemon.dakota.ucd.ie by dakota.ucd.ie (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) id <0J0A00C01DEP7500@dakota.ucd.ie> (original mail from greenrd@greenrd.org) for qemu-devel@nongnu.org; Sat, 03 Jun 2006 14:31:35 +0100 (IST) Received: from localhost.localdomain ([193.1.132.151]) by dakota.ucd.ie (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0J0A00LD8DKMLB50@dakota.ucd.ie> for qemu-devel@nongnu.org; Sat, 03 Jun 2006 14:31:34 +0100 (IST) Date: Sat, 03 Jun 2006 14:36:41 +0100 From: Robin Green Message-id: <20060603143641.700c321f@localhost.localdomain> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: [Qemu-devel] Can't set breakpoint in gdb using qemu -s on x86_64 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 I'm trying to debug the Linux kernel using qemu's -s option. When I try to set a breakpoint, it fails as follows: $ gdb /lib/modules/2.6.16.18-1.debug.x86_64/vmlinux GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-unknown-linux-gnu"...Using host libthread_db library "/lib64/tls/libthread_db.so.1". (gdb) target remote localhost:1234 Remote debugging using localhost:1234 0x0000000000000000 in ?? () warning: shared library handler failed to enable breakpoint (gdb) b sys_select Cannot access memory at address 0xffffffff8017d852 -- Robin