aboutsummaryrefslogtreecommitdiff
path: root/gdb/blockframe.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-06-26 15:28:46 +0000
committerAndrew Cagney <cagney@redhat.com>2002-06-26 15:28:46 +0000
commitda130f98ef0a1bfee17dbc6ad1cbfe7f2c92a0c3 (patch)
treec0bcb5ea7a8498acb7291bf2d9c50cb30b0091ce /gdb/blockframe.c
parente5014cdae227efbff90d0d95443dea69d2c0f688 (diff)
downloadgdb-da130f98ef0a1bfee17dbc6ad1cbfe7f2c92a0c3.zip
gdb-da130f98ef0a1bfee17dbc6ad1cbfe7f2c92a0c3.tar.gz
gdb-da130f98ef0a1bfee17dbc6ad1cbfe7f2c92a0c3.tar.bz2
* frame.h (deprecated_generic_find_dummy_frame): Rename
generic_find_dummy_frame. * blockframe.c (generic_find_dummy_frame): Make static. (deprecated_generic_find_dummy_frame): New function. * sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace generic_find_dummy_frame with deprecated_find_dummy_frame. (sh64_nofp_frame_init_saved_regs): Ditto. (sh_fp_frame_init_saved_regs): Ditto. * s390-tdep.c (s390_frame_saved_pc_nofix): Ditto. (s390_frame_chain): Ditto. * cris-tdep.c (cris_frame_init_saved_regs): Ditto.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r--gdb/blockframe.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c
index 526184e..d2143a4 100644
--- a/gdb/blockframe.c
+++ b/gdb/blockframe.c
@@ -1144,7 +1144,7 @@ static struct dummy_frame *dummy_frame_stack = NULL;
adjust for DECR_PC_AFTER_BREAK. This is because it is only legal
to call this function after the PC has been adjusted. */
-char *
+static char *
generic_find_dummy_frame (CORE_ADDR pc, CORE_ADDR fp)
{
struct dummy_frame *dummyframe;
@@ -1161,6 +1161,12 @@ generic_find_dummy_frame (CORE_ADDR pc, CORE_ADDR fp)
return 0;
}
+char *
+deprecated_generic_find_dummy_frame (CORE_ADDR pc, CORE_ADDR fp)
+{
+ return generic_find_dummy_frame (pc, fp);
+}
+
/* Function: pc_in_call_dummy (pc, sp, fp)
Return true if the PC falls in a dummy frame created by gdb for an