Re: Backtracing broken core dumps

Ulrich Weigand
2009-07-20T19:53:15Z

Samuel Bronson wrote:
> At Sun, 19 Jul 2009 22:49:05 -0300,
> Thiago Bauermann wrote:
> > IIRC Ulrich Weigand considers that usage of the frame command to be
> > deprecated... I don't know the rationale though.
>
> I believe the rationale is that it doesn't actually work very well :-).

Well yes, and more importantly that it cannot be made to work well,
because -as Paul Koning already pointed out- just specifying a stack
address simply does not reliably identify a stack frame. On many
platforms, you *need* a PC in addition to the stack address in order
to be able to unwind further. On some platforms (IA64) you may even
need yet more information (register stack address) ...

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com