How can I use the call command when analyzing a core

Daniel Jacobowitz drow@false.org
Mon May 18 21:41:00 GMT 2009


On Mon, May 18, 2009 at 05:29:11PM -0400, Garrod, David wrote:
> 1) Is there any chance at all of working out how to change gdb to do "call" when analyzing a core on the same
>    architecture as the core was taken on?

Basically, no.  We don't have any of the internal data structures of
the application in valid state.  We'd have to do an emacs-style
"undump" - and emacs takes all sorts of shortcuts to make this work.

Something you may want to look into is the new Python binding, which
makes it easier to write post-mortem inspection than the GDB CLI.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list