From f096a152b39f7a6c65f2f344a0e2593fd85abdcc Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 12 Aug 2001 01:11:12 +0000 Subject: [PATCH] * config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete. * mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc. --- gdb/ChangeLog | 5 +++++ gdb/config/mn10300/tm-mn10300.h | 2 -- gdb/mn10300-tdep.c | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 976e927aa07..20a208d6ce8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-08-11 Andrew Cagney + + * config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete. + * mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc. + 2001-08-07 Andrew Cagney * target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched. diff --git a/gdb/config/mn10300/tm-mn10300.h b/gdb/config/mn10300/tm-mn10300.h index 7931d6d01a0..39bf55539ba 100644 --- a/gdb/config/mn10300/tm-mn10300.h +++ b/gdb/config/mn10300/tm-mn10300.h @@ -71,5 +71,3 @@ enum movm_register_bits { movm_d3_bit = 0x40, movm_d2_bit = 0x80 }; - -#define INIT_FRAME_PC /* Not necessary */ diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index 53f6ec9019e..d62a093aaf7 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -1089,6 +1089,7 @@ mn10300_gdbarch_init (struct gdbarch_info info, set_gdbarch_frame_chain_valid (gdbarch, generic_file_frame_chain_valid); set_gdbarch_saved_pc_after_call (gdbarch, mn10300_saved_pc_after_call); set_gdbarch_init_extra_frame_info (gdbarch, mn10300_init_extra_frame_info); + set_gdbarch_init_frame_pc (gdbarch, init_frame_pc_noop); set_gdbarch_frame_init_saved_regs (gdbarch, mn10300_frame_init_saved_regs); set_gdbarch_frame_chain (gdbarch, mn10300_frame_chain); set_gdbarch_frame_saved_pc (gdbarch, mn10300_frame_saved_pc); -- 2.30.2