aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/config/mn10300/tm-mn10300.h2
-rw-r--r--gdb/mn10300-tdep.c1
3 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 976e927..20a208d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-11 Andrew Cagney <ac131313@redhat.com>
+
+ * config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
+ * mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.
+
2001-08-07 Andrew Cagney <ac131313@redhat.com>
* 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 7931d6d..39bf555 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 53f6ec9..d62a093 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);