summaryrefslogtreecommitdiff
path: root/gdb/m68hc11-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-08-18 17:35:16 +0000
committerAndrew Cagney <cagney@redhat.com>2003-08-18 17:35:16 +0000
commit735ad8a36465b9f4021ea9b33c821331a014fd97 (patch)
treef86be49fd6a1ff2c63916320f5b0313ce2aa4212 /gdb/m68hc11-tdep.c
parent7e60e51d28e15c36995140e0ea606ccde72215d8 (diff)
downloadgdb-735ad8a36465b9f4021ea9b33c821331a014fd97.tar.gz
2003-08-18 Andrew Cagney <cagney@redhat.com>
* m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set "dwarf2_build_frame_info". Append "m68k_frame_sniffer" instead of "m68k_frame_p". (m68hc11_frame_sniffer): Replace "m68hc11_frame_p".
Diffstat (limited to 'gdb/m68hc11-tdep.c')
-rw-r--r--gdb/m68hc11-tdep.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c
index 223eb0991a6..7ec4edd017d 100644
--- a/gdb/m68hc11-tdep.c
+++ b/gdb/m68hc11-tdep.c
@@ -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;
}
@@ -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