This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/20609] Regression: gdb --pid $(pidof qemu-system-x86_64) stopped working with gdb 7.11.1
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 20 Sep 2016 16:22:48 +0000
- Subject: [Bug gdb/20609] Regression: gdb --pid $(pidof qemu-system-x86_64) stopped working with gdb 7.11.1
- Auto-submitted: auto-generated
- References: <bug-20609-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=20609
Jan Kratochvil <jan.kratochvil at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jan.kratochvil at redhat dot com
--- Comment #1 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
echo -e '#include <unistd.h>\nint
__jit_debug_register_code,__jit_debug_descriptor;int main(){sleep(60);}'|gcc
-fPIE -pie -x c -;./a.out &p=$!;sleep 0.1;gdb -q -iex 'set breakpoint
always-inserted on' -iex 'set debug jit 1' -p $p
[5] 322
Attaching to process 322
Reading symbols from /tmp/a.out...(no debugging symbols found)...done.
jit_breakpoint_re_set_internal, breakpoint_addr = 0x201030
Warning:
Cannot insert breakpoint -1.
Cannot access memory at address 0x201030
--
You are receiving this mail because:
You are on the CC list for the bug.