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: "edwintorok at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 15 Dec 2009 21:03:58 -0000
- Subject: [Bug breakpoints/11094] cannot reexecute programs using the GDB JIT interface in shared libs
- References: <20091215210108.11094.edwintorok@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.