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


------- Additional Comments From edwintorok at gmail dot com  2009-12-15 21:03 -------
Created an attachment (id=4474)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4474&action=view)
shared.c

the file for the shared lib, this "implements" the JIT interface.
It doesn't actually implement anything, just declares the __jit* symbols, the
code is a copy of the one in GDB online manual.

LLVM has code that actually registers something with the JIT, but this bug can
be triggered without actually registering any code, hence this simple testcase.


Note that if the file is not compiled as a shared lib, then I can rerun the
program without any errors.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11094

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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