aboutsummaryrefslogtreecommitdiff
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
commit1a2415489f5b95012adccd5ff1c3c4eac8a394d1 (patch)
treeae08bbc78ee8e93272404baecd662e455c193064 /gdb/m68hc11-tdep.c
parentf82b2acd9002f5a402657c14894eb012e3a3fb20 (diff)
downloadgdb-1a2415489f5b95012adccd5ff1c3c4eac8a394d1.zip
gdb-1a2415489f5b95012adccd5ff1c3c4eac8a394d1.tar.gz
gdb-1a2415489f5b95012adccd5ff1c3c4eac8a394d1.tar.bz2
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 223eb09..7ec4edd 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