This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Backtracing broken core dumps
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: naesten at gmail dot com (Samuel Bronson)
- Cc: thiago dot bauermann at gmail dot com (Thiago Jung Bauermann), gdb at sourceware dot org, schwab at linux-m68k dot org (Andreas Schwab), Catherine dot Smith at arrows dot demon dot co dot uk (Catherine Smith)
- Date: Mon, 20 Jul 2009 21:52:47 +0200 (CEST)
- Subject: Re: Backtracing broken core dumps
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