aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-12 19:25:39 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-12 19:25:39 +0000
commit1ce79225f2465c40ae4441e2049c1207c5d487cc (patch)
tree764d299185f9db5d3d9ea32964508bd3f00779df /gdb
parentfa1fd571ea1d5c95eee4f1023974eb10f015009f (diff)
downloadgdb-1ce79225f2465c40ae4441e2049c1207c5d487cc.zip
gdb-1ce79225f2465c40ae4441e2049c1207c5d487cc.tar.gz
gdb-1ce79225f2465c40ae4441e2049c1207c5d487cc.tar.bz2
2003-01-12 Andrew Cagney <ac131313@redhat.com>
* d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a dummy frame. (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/d10v-tdep.c26
2 files changed, 9 insertions, 23 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 3ea2c15..1527413 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2003-01-12 Andrew Cagney <ac131313@redhat.com>
+ * d10v-tdep.c (d10v_init_extra_frame_info): Remove checks for a
+ dummy frame.
+ (d10v_frame_saved_pc, d10v_frame_chain): Ditto.
+
+2003-01-12 Andrew Cagney <ac131313@redhat.com>
+
* d10v-tdep.c: Include "gdb_assert.h".
(d10v_store_return_value): Rewrite to match current interface.
(d10v_extract_struct_value_address): Ditto.
diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c
index 9d03c65..63efe4c 100644
--- a/gdb/d10v-tdep.c
+++ b/gdb/d10v-tdep.c
@@ -521,14 +521,7 @@ d10v_extract_struct_value_address (struct regcache *regcache)
static CORE_ADDR
d10v_frame_saved_pc (struct frame_info *frame)
{
- if (DEPRECATED_PC_IN_CALL_DUMMY (get_frame_pc (frame),
- get_frame_base (frame),
- get_frame_base (frame)))
- return d10v_make_iaddr (deprecated_read_register_dummy (get_frame_pc (frame),
- get_frame_base (frame),
- PC_REGNUM));
- else
- return (get_frame_extra_info (frame)->return_pc);
+ return (get_frame_extra_info (frame)->return_pc);
}
/* Immediately after a function call, return the saved pc. We can't
@@ -699,10 +692,6 @@ d10v_frame_chain (struct frame_info *fi)
CORE_ADDR addr;
/* A generic call dummy's frame is the same as caller's. */
- if (DEPRECATED_PC_IN_CALL_DUMMY (get_frame_pc (fi), get_frame_base (fi),
- get_frame_base (fi)))
- return get_frame_base (fi);
-
d10v_frame_init_saved_regs (fi);
@@ -711,8 +700,7 @@ d10v_frame_chain (struct frame_info *fi)
{
/* This is meant to halt the backtrace at "_start".
Make sure we don't halt it at a generic dummy frame. */
- if (!DEPRECATED_PC_IN_CALL_DUMMY (get_frame_extra_info (fi)->return_pc, 0, 0))
- return (CORE_ADDR) 0;
+ return (CORE_ADDR) 0;
}
if (!get_frame_saved_regs (fi)[FP_REGNUM])
@@ -929,15 +917,7 @@ d10v_init_extra_frame_info (int fromleaf, struct frame_info *fi)
/* The call dummy doesn't save any registers on the stack, so we can
return now. */
- if (DEPRECATED_PC_IN_CALL_DUMMY (get_frame_pc (fi), get_frame_base (fi),
- get_frame_base (fi)))
- {
- return;
- }
- else
- {
- d10v_frame_init_saved_regs (fi);
- }
+ d10v_frame_init_saved_regs (fi);
}
static void