diff options
Diffstat (limited to 'gdb/m68hc11-tdep.c')
-rw-r--r-- | gdb/m68hc11-tdep.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index 223eb09..0f3ed0e 100644 --- a/gdb/m68hc11-tdep.c +++ b/gdb/m68hc11-tdep.c @@ -896,7 +896,7 @@ m68hc11_frame_this_id (struct frame_info *next_frame, /* This is meant to halt the backtrace at "_start". Make sure we don't halt it at a generic dummy frame. */ - if (inside_entry_file (func)) + if (deprecated_inside_entry_file (func)) return; /* Hopefully the prologue analysis either correctly determined the @@ -961,7 +961,7 @@ static const struct frame_unwind m68hc11_frame_unwind = { }; const struct frame_unwind * -m68hc11_frame_p (CORE_ADDR pc) +m68hc11_frame_sniffer (struct frame_info *next_frame) { return &m68hc11_frame_unwind; } @@ -1572,7 +1572,7 @@ m68hc11_gdbarch_init (struct gdbarch_info info, set_gdbarch_decr_pc_after_break (gdbarch, 0); set_gdbarch_function_start_offset (gdbarch, 0); set_gdbarch_breakpoint_from_pc (gdbarch, m68hc11_breakpoint_from_pc); - set_gdbarch_stack_align (gdbarch, m68hc11_stack_align); + set_gdbarch_deprecated_stack_align (gdbarch, m68hc11_stack_align); set_gdbarch_print_insn (gdbarch, gdb_print_insn_m68hc11); m68hc11_add_reggroups (gdbarch); @@ -1581,9 +1581,8 @@ m68hc11_gdbarch_init (struct gdbarch_info info, /* Hook in the DWARF CFI frame unwinder. */ frame_unwind_append_sniffer (gdbarch, dwarf2_frame_sniffer); - set_gdbarch_dwarf2_build_frame_info (gdbarch, dwarf2_build_frame_info); - frame_unwind_append_predicate (gdbarch, m68hc11_frame_p); + frame_unwind_append_sniffer (gdbarch, m68hc11_frame_sniffer); frame_base_set_default (gdbarch, &m68hc11_frame_base); /* Methods for saving / extracting a dummy frame's ID. The ID's |