This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/15099] New: gdb fails to insert breakpoint inqemu-kvm, when enable PIE support
- From: "powernp4gs3 at yahoo dot com.cn" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 05 Feb 2013 06:13:04 +0000
- Subject: [Bug breakpoints/15099] New: gdb fails to insert breakpoint inqemu-kvm, when enable PIE support
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15099
Bug #: 15099
Summary: gdb fails to insert breakpoint in qemu-kvm, when
enable PIE support
Product: gdb
Version: 7.5
Status: NEW
Severity: normal
Priority: P2
Component: breakpoints
AssignedTo: unassigned@sourceware.org
ReportedBy: powernp4gs3@yahoo.com.cn
Classification: Unclassified
qemu-kvm version: 1.2.0
gcc version: gcc (Ubuntu/Linaro 4.7.2-2ubuntu1) 4.7.2
gdb version: GNU gdb (GDB) 7.5-ubuntu
linux distribution: linuxmint 14
How to Reproduce:
(1) Download qemu-kvm source code:
http://jaist.dl.sourceforge.net/project/kvm/qemu-kvm/1.2.0/qemu-kvm-1.2.0.tar.gz
(2) configure qemu-kvm with this options (defaults, enable PIE support):
# ./configure --enable-debug --enable-kvm
# make
# gdb x86_64-softmmu/qemu-system-x86_64
then set args, run, but throw this:
Warning:
Cannot insert breakpoint -1.
Error accessing memory address 0x3849c0: Input/output error.
But when configure with --disable-pie, no problem:
# ./configure --enable-debug --enable-kvm --disable-pie
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.