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, Interp *interpreter)

Writes the types to stabs.

static void write_vars(FILE *stabs, Interp *interpreter)

Writes the contents of the registers to stabs.

static STRING *debug_file(Interp *interpreter, STRING *file, const char *ext)

Returns file with ext appended.

static void Parrot_jit_debug_stabs(Interp *interpreter)

Writes the JIT debugging stabs.

void Parrot_jit_debug(Interp *interpreter)

Writes the JIT debugging stabs. Just calls Parrot_jit_debug_stabs().

SEE ALSO ^

src/jit.c, include/parrot/jit.h, docs/jit.pod.


parrot