in reply to Re: How to dump perl data structures from gdb
in thread How to dump perl data structures from gdb

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

  • Comment on Re^2: How to dump perl data structures from gdb

Replies are listed 'Best First'.
Re^3: How to dump perl data structures from gdb
by salva (Canon) on Apr 21, 2005 at 08:40 UTC
    no problem, just put my_dump_sv in a dummy XS module.