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 stabs.

static void write_vars(FILE *stabs, PARROT_INTERP)

Writes the contents of the registers to stabs.

static STRING *debug_file(PARROT_INTERP, STRING *file, const char *ext)

Returns file with ext appended.

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 Parrot_jit_debug_stabs().

SEE ALSO ^

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


parrot