This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/20609] Regression: gdb --pid $(pidof qemu-system-x86_64) stopped working with gdb 7.11.1


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]