in reply to How to dump perl data structures from gdb

then, the next step is to include in your C code a small wrapper function around Perl_sv_dump that you can call from gdb just as
call my_dump_sv(any_sv)
and forget about contexts, threads, PerlIO streams and long argument lists!

Replies are listed 'Best First'.
Re^2: How to dump perl data structures from gdb
by Anonymous Monk on Apr 21, 2005 at 00:34 UTC
    the next step is to include in your C code a small wrapper function around Perl_sv_dump that you can call from gdb

    What C. code? He's debugging the perl binary directly, and snooping as it runs on a mini-program specified using the -command line argument.

    Unless he wants to customize the perl binary itself, he doesn't have any C. code to add functions to.
    --
    AC

      no problem, just put my_dump_sv in a dummy XS module.