[patch/rfc] frame_pc_unwind()

Andrew Cagney ac131313@redhat.com
Fri Nov 8 16:46:00 GMT 2002


Hello,

The attached patch adds a per-frame frame_pc_unwind() method.  This goes 
with the per-frame frame_register_unwind() method (notice how the 
names/meanings match - unlike frame_saved_pc() vs get_saved_register() :-).

For a dummy frame it uses the dummy-frame version.  For other frames it 
falls back to  the existing FRAME_SAVED_PC() version.

This patch means that both GET_SAVED_REGISTER() and FRAME_SAVED_PC() 
have now officially been `put on notice'.  Need to demonstrate the 
replacement before they can be made obsolete though :-)

Baring comments, I'll commit this in a few days,

Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20021108/5d30ed87/attachment.ksh>


More information about the Gdb-patches mailing list