I've never used GDB. Does it allow you to place watch statements on breakpoints? If so, and if the address of the unreference scalar is consistant, then put a breakpoint on the return statement from malloc with a watch looking for the breaking address. That should allow you to backtrack to the routine that allocates the SV.
In reply to Re: GDB journey into perl internals
by BrowserUk
in thread GDB journey into perl internals
by cosimo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |