On 2012年04月16日 17:50, Stefan Hajnoczi wrote:
On Mon, Apr 16, 2012 at 3:58 AM, Zhi Hui Li<zhihu...@linux.vnet.ibm.com>  wrote:
when I git pull to the newest branch, then

gdb ./x86_64-softmmu/qemu-system-x86_64

set args, then run the gdb, but have the error:

Warning:
Cannot insert breakpoint -1.
Error accessing memory address 0x2b6688: Input/output error.

I tried to reproduce this but it works on my machine with gdb 7.4-debian.

Is your system up-to-date?  Do you have any special security activated
(SELinux, grsec, etc) which might prevent ptrace?

Stefan



Thank you very much for your feedback, I found the reason:

when I git pull to the newest branch then use gdb 7.2, the error will happen, when I update gdb to 7.3, That is ok. But I don't know the reason. Maybe the newest branch brings something which don't compatible with gdb.


Reply via email to