[prev in list] [next in list] [prev in thread] [next in thread]
List: gdb
Subject: Re: Backtracing broken core dumps
From: "Ulrich Weigand" <uweigand () de ! ibm ! com>
Date: 2009-07-20 19:52:47
Message-ID: 200907201952.n6KJqlVV020759 () d12av02 ! megacenter ! de ! ibm ! com
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic