This is the mail archive of the gdb@sources.redhat.com 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]

Revamped frame chain, useful for PPC?


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


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