This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]