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 breakpoints/11094] cannot reexecute programs using the GDB JIT interface in shared libs


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.

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