This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[unwind-20030108-branch] Add sentinel-frame + misc
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 09 Jan 2003 21:16:59 -0500
- Subject: [unwind-20030108-branch] Add sentinel-frame + misc
This adds sentinal-frame.[hc] and then modifies the unwind code in
frame.c so that it can exploit the fact that there is alway an extra
frame beyond the inner most frame. This has a dramatic effect on the
unwind code - so much simpler!
It doesn't do things like ensure that there is always a frame or create
the inner most frame from the sentinel frame.
To confuse the patch slightly, it also adjusts the id_unwind, pc_unwind
and register_unwind function types.
Andrew