From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4218 invoked by alias); 23 Feb 2009 22:33:10 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 4193 invoked by uid 306); 23 Feb 2009 22:33:08 -0000 Date: Mon, 23 Feb 2009 22:33:00 -0000 Message-ID: <20090223223308.4177.qmail@sourceware.org> From: tromey@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-pmuldoon-next-over-throw: Add comments to new unwinder code. X-Git-Refname: refs/heads/archer-pmuldoon-next-over-throw X-Git-Reftype: branch X-Git-Oldrev: 24b21a09e7ca0b0205aa351b494b90fca698445a X-Git-Newrev: c2fa833b48265ee6cfd2571d2b4bb79825fa91b6 X-SW-Source: 2009-q1/txt/msg00183.txt.bz2 List-Id: The branch, archer-pmuldoon-next-over-throw has been updated via c2fa833b48265ee6cfd2571d2b4bb79825fa91b6 (commit) from 24b21a09e7ca0b0205aa351b494b90fca698445a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit c2fa833b48265ee6cfd2571d2b4bb79825fa91b6 Author: Tom Tromey Date: Mon Feb 23 15:32:34 2009 -0700 Add comments to new unwinder code. ----------------------------------------------------------------------- Summary of changes: gdb/unwinder.diff | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) First 500 lines of diff: diff --git a/gdb/unwinder.diff b/gdb/unwinder.diff index 2c46635..87d6daa 100644 --- a/gdb/unwinder.diff +++ b/gdb/unwinder.diff @@ -9,16 +9,24 @@ Index: unwind-dw2.c Free Software Foundation, Inc. This file is part of GCC. -@@ -1461,18 +1461,28 @@ +@@ -1461,18 +1461,36 @@ context->ra = __builtin_extract_return_addr (outer_ra); } ++/* This is used to trigger the debugger support in the unwinder. When ++ non-zero, _Unwind_DebugHook is called during unwinding, just before ++ the unwinder returns to user code. This is never set by the ++ unwinder; it must be set by the debugger. */ +int _Unwind_DebugTrigger; +void _Unwind_DebugHook (void *, void *) __attribute__ ((__noinline__)); + ++/* When _Unwind_DebugTrigger is non-zero, this function is called ++ during unwinding. CFA is the CFA of the target frame. HANDLER is ++ the PC to which control will be transferred. */ +void -+_Unwind_DebugHook (void *cfa, void *handler) ++_Unwind_DebugHook (void *cfa __attribute__ ((__unused__)), ++ void *handler __attribute__ ((__unused__))) +{ +} + hooks/post-receive -- Repository for Project Archer.