From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Received: (qmail 475 invoked from network); 10 Jan 2003 02:17:10 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by 209.249.29.67 with SMTP; 10 Jan 2003 02:17:10 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D4DF03CCF for ; Thu, 9 Jan 2003 21:16:59 -0500 (EST) Message-ID: <3E1E2D1B.5020100@redhat.com> Date: Fri, 10 Jan 2003 02:17:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.1) Gecko/20021211 X-Accept-Language: en-us, en MIME-Version: 1.0 To: gdb-patches@sources.redhat.com Subject: [unwind-20030108-branch] Add sentinel-frame + misc Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg00390.txt.bz2 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