This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/11094] cannot reexecute programs using the GDB JIT interface in shared libs
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 24 Aug 2016 13:17:15 +0000
- Subject: [Bug breakpoints/11094] cannot reexecute programs using the GDB JIT interface in shared libs
- Auto-submitted: auto-generated
- References: <bug-11094-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=11094
--- Comment #15 from Pedro Alves <palves at redhat dot com> ---
This is GDB trying to print the location spec of the jit breakpoint, but that's
an internal breakpoint without one.
If I add a NULL check, then we see that the JIT breakpoint ended up pending.
But that's incorrect. GDB should have managed to recreate the JIT breakpoint's
locations for the second run. So the problem is earlier.
The problem seems to me to be that we don't discard the breakpoint when the
objfile with the JIT is unloaded.
--
You are receiving this mail because:
You are on the CC list for the bug.