Displaying 3 results from an estimated 3 matches for "debugging_with_gdb_in_xdebug_mod".
Did you mean:
debugging_with_gdb_in_xdebug_mode
2009 Mar 31
2
[LLVMdev] Connecting JITted code to gdb
...st, as Evan suggests
below, we can have the JIT print the address range that it's written a
function into, have gdb disassemble that, set breakpoints at
particular addresses, and print variables by knowing what register
they live in. Second, as described at
http://www.mono-project.com/Debugging#Debugging_with_GDB_in_XDEBUG_mode,
we can write out a full object file with dwarf tables, and use
add-symbol-file to get gdb to load that on demand.
Neither of these is ideal. add-symbol-file is better, but it doesn't
allow us to set breakpoints inside the JITted code until it's
generated, and it doesn't let those bre...
2009 Mar 27
0
[LLVMdev] Connecting JITted code to gdb
Run with -debug-only=jit.
Break on line 1148 of JITEmitter.cpp. The debugging message will tell
you the address and size of the function that was jitted. You can then
tell gdb to disassemble the code.
On Mar 26, 2009, at 11:35 PM, Jeffrey Yasskin wrote:
> Hi all. I'm working on the recently-announced unladen-swallow project,
> and I'm having a bit of trouble getting gdb to
2009 Mar 27
4
[LLVMdev] Connecting JITted code to gdb
Hi all. I'm working on the recently-announced unladen-swallow project,
and I'm having a bit of trouble getting gdb to step into functions
I've compiled with LLVM's JIT compiler. The attached a_module.ll is
the module I produce from compiling
def foo(r):
for i in r:
pass
I'm JIT-compiling and running foo() with:
typedef PyObject *(*NativeFunction)(PyFrameObject *);