public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] archer-pmuldoon-next-over-throw: Add comments to new unwinder code.
@ 2009-02-23 22:33 tromey
0 siblings, 0 replies; only message in thread
From: tromey @ 2009-02-23 22:33 UTC (permalink / raw)
To: archer-commits
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 <tromey@redhat.com>
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-02-23 22:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-23 22:33 [SCM] archer-pmuldoon-next-over-throw: Add comments to new unwinder code tromey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).