Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Revamped frame chain, useful for PPC?
@ 2003-01-10 15:54 Andrew Cagney
  2003-01-10 18:20 ` Jim Ingham
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cagney @ 2003-01-10 15:54 UTC (permalink / raw)
  To: Jim Ingham; +Cc: gdb

Jim,

Long long ago you mentioned that, to improve performance, you hacked the 
PPC code and core GDB so that it could do a light weight frame chain. 
That is, instead of a full frame prologue (aka, init frame saved regs / 
init extra frame info), it would just chain the frame pointer.

Can I suggest looking at the cagney-unwind-20030108-branch as it 
contains the revamped unwind mechanism.  In particular, it now leaves it 
to the target architecture to determine if/when additional prologue 
analysis should be performed.

See the function get_prev_frame() for the unwind sequence, and 
sentinel-frame / dummy-frame for specific frame implementations.

Andrew


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-10 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-10 15:54 Revamped frame chain, useful for PPC? Andrew Cagney
2003-01-10 18:20 ` Jim Ingham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox