> (gdb) longmess
>  at /opt/local/perl/Apache/Constants.pm line 19
>         Apache::Constants::AUTOLOAD() called at /opt/local/perl/Apache/Registry

hmm, add this to .gdbinit:
define perl_get_sv
    set $sv = perl_get_sv($arg0, 0)
    printf "%s\n", $sv ? ((XPV*) ((SV*)$sv)->sv_any)->xpv_pv : "undef"
end

and run:

(gdb) perl_get_sv("Apache::Constants::AUTOLOAD")

what does that print?

Reply via email to