diff options
author | Daniel Jacobowitz <drow@false.org> | 2008-04-30 21:18:28 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2008-04-30 21:18:28 +0000 |
commit | 4a4e51493775a8b68df6fe1c1e364aefed060fb9 (patch) | |
tree | a0210ee11d20cdf07a94a0b229fe1ce507cb3901 /gdb/dwarf2-frame.h | |
parent | 669fac235d5edab8e2f33c4f3382f3b61671dc8e (diff) | |
download | gdb-4a4e51493775a8b68df6fe1c1e364aefed060fb9.zip gdb-4a4e51493775a8b68df6fe1c1e364aefed060fb9.tar.gz gdb-4a4e51493775a8b68df6fe1c1e364aefed060fb9.tar.bz2 |
* dwarf2-frame.c (read_reg): Expect this_frame in the baton.
(execute_stack_op): Put this_frame in the baton.
(execute_cfa_program): Take this_frame.
(struct dwarf2_frame_ops): Update comment for signal_frame_p.
(dwarf2_frame_default_init_reg, dwarf2_frame_init_reg)
(dwarf2_frame_signal_frame_p, dwarf2_frame_cache)
(dwarf2_frame_this_id): Adjust to work on this_frame.
(dwarf2_signal_frame_this_id): Delete.
(dwarf2_frame_prev_register): Update signature. Use new frame
unwind methods.
(dwarf2_frame_sniffer): Update signature. Expect this_frame.
(dwarf2_frame_unwind, dwarf2_signal_frame_unwind): Add
dwarf2_frame_sniffer.
(dwarf2_append_unwinders): New.
(dwarf2_frame_base_address, dwarf2_frame_base_sniffer): Expect
this_frame.
* sparc-tdep.c (sparc32_dwarf2_struct_return_p)
(sparc32_dwarf2_frame_init_reg): Expect this_frame.
* cris-tdep.c (cris_dwarf2_frame_init_reg): Likewise.
* rs6000-tdep.c (ppc_dwarf2_frame_init_reg): Likewise.
* s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise.
* sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise.
* sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise.
* dwarf2-frame.h (dwarf2_frame_sniffer): Delete declaration.
(dwarf2_append_unwinders): Declare.
(dwarf2_frame_base_sniffer): Update declaration.
* i386-linux-tdep.c (i386_linux_dwarf_signal_frame_p): Expect
this_frame.
Diffstat (limited to 'gdb/dwarf2-frame.h')
-rw-r--r-- | gdb/dwarf2-frame.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/dwarf2-frame.h b/gdb/dwarf2-frame.h index 22a097f..dc9f003 100644 --- a/gdb/dwarf2-frame.h +++ b/gdb/dwarf2-frame.h @@ -100,17 +100,15 @@ extern void int (*adjust_regnum) (struct gdbarch *, int, int)); -/* Return the frame unwind methods for the function that contains PC, - or NULL if it can't be handled by DWARF CFI frame unwinder. */ +/* Append the DWARF-2 frame unwinders to GDBARCH's list. */ -extern const struct frame_unwind * - dwarf2_frame_sniffer (struct frame_info *next_frame); +void dwarf2_append_unwinders (struct gdbarch *gdbarch); /* Return the frame base methods for the function that contains PC, or NULL if it can't be handled by the DWARF CFI frame unwinder. */ extern const struct frame_base * - dwarf2_frame_base_sniffer (struct frame_info *next_frame); + dwarf2_frame_base_sniffer (struct frame_info *this_frame); /* Register the DWARF CFI for OBJFILE. */ |