summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-08-12 01:11:12 +0000
committerAndrew Cagney <cagney@redhat.com>2001-08-12 01:11:12 +0000
commitf096a152b39f7a6c65f2f344a0e2593fd85abdcc (patch)
treed8504d0a2cb059041030b98365f621100275ee36
parent7908826a9b58e6966762e595ff63184a734a100e (diff)
downloadppe42-binutils-f096a152b39f7a6c65f2f344a0e2593fd85abdcc.tar.gz
ppe42-binutils-f096a152b39f7a6c65f2f344a0e2593fd85abdcc.zip
* config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
* mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.
-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 976e927aa0..20a208d6ce 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 7931d6d01a..39bf55539b 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 53f6ec9019..d62a093aaf 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);
OpenPOWER on IntegriCloud