[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Can't set breakpoint in gdb using qemu -s on x86_64

From: Robin Green
Subject: [Qemu-devel] Can't set breakpoint in gdb using qemu -s on x86_64
Date: Sat, 03 Jun 2006 14:36:41 +0100

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/
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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]