Backtracing broken core dumps
Thiago Jung Bauermann
thiago.bauermann@gmail.com
Mon Jul 20 01:47:00 GMT 2009
Em Domingo 19 Julho 2009 13:11:26 Andreas Schwab escreveu:
> "Catherine Smith" <Catherine.Smith@arrows.demon.co.uk> writes:
> > I have attempted to find back traces of several core dumps
> > which have resulted from executing damaged pointers to
> > functions, or null pointers to functions.
> > Sometimes a gdb command of the form
> >
> > set pc=$lr
> >
> > would help, except that gdb says
> >
> > (gdb) set pc=$lr
> > You can't do that without a process to debug
>
> Try using the frame command, passing it the address of the frame you
> want to examine.
IIRC Ulrich Weigand considers that usage of the frame command to be
deprecated... I don't know the rationale though.
--
[]'s
Thiago Jung Bauermann
More information about the Gdb
mailing list