aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2-frame.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2004-11-07 21:16:11 +0000
committerDaniel Jacobowitz <drow@false.org>2004-11-07 21:16:11 +0000
commit3ed09a32677624b5eb98dfe31a4f3b249eaa6dc5 (patch)
treec4036816e7557c5fde826c8e2787f7267af9ef85 /gdb/dwarf2-frame.h
parent4fb31ed0455ac083adfbe670eb88a581bb299606 (diff)
downloadgdb-3ed09a32677624b5eb98dfe31a4f3b249eaa6dc5.zip
gdb-3ed09a32677624b5eb98dfe31a4f3b249eaa6dc5.tar.gz
gdb-3ed09a32677624b5eb98dfe31a4f3b249eaa6dc5.tar.bz2
* dwarf2-frame.c (struct dwarf2_frame_ops): Add signal_frame_p.
(dwarf2_frame_set_signal_frame_p, dwarf2_frame_signal_frame_p) (dwarf2_signal_frame_unwind): New. (dwarf2_frame_sniffer): Use dwarf2_frame_signal_frame_p. * dwarf2-frame.h (dwarf2_frame_set_signal_frame_p): New prototype.
Diffstat (limited to 'gdb/dwarf2-frame.h')
-rw-r--r--gdb/dwarf2-frame.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/dwarf2-frame.h b/gdb/dwarf2-frame.h
index 1ae44b5..5191c0e 100644
--- a/gdb/dwarf2-frame.h
+++ b/gdb/dwarf2-frame.h
@@ -79,6 +79,14 @@ extern void dwarf2_frame_set_init_reg (struct gdbarch *gdbarch,
void (*init_reg) (struct gdbarch *, int,
struct dwarf2_frame_state_reg *));
+/* Set the architecture-specific signal trampoline recognition
+ function for GDBARCH to SIGNAL_FRAME_P. */
+
+extern void
+ dwarf2_frame_set_signal_frame_p (struct gdbarch *gdbarch,
+ int (*signal_frame_p) (struct gdbarch *,
+ struct frame_info *));
+
/* Return the frame unwind methods for the function that contains PC,
or NULL if it can't be handled by DWARF CFI frame unwinder. */