NAME
src/jit_debug.c - Write stabs file for JIT code
SYNOPSIS
When debugging JIT code with gdb
,
do:
add-symbol-file <file.o> 0
DESCRIPTION
Stabs is a file format for information that describes a program to a debugger.
For more information see the stabs documentation at http://sources.redhat.com/gdb/current/onlinedocs/stabs_toc.html.
Functions
static void write_types(FILE *stabs, PARROT_INTERP)
Writes the types to static void write_vars(FILE *stabs, PARROT_INTERP)
Writes the contents of the registers to static STRING *debug_file(PARROT_INTERP, STRING *file, const char *ext)
Returns static void Parrot_jit_debug_stabs(PARROT_INTERP)
Writes the JIT debugging stabs.
void Parrot_jit_debug(PARROT_INTERP)
Writes the JIT debugging stabs. Just calls
stabs
.
stabs
.
file
with ext
appended.
Parrot_jit_debug_stabs()
.SEE ALSO
src/jit.c, include/parrot/jit.h, docs/jit.pod.