aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.h
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/frame.h
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/frame.h')
-rw-r--r--gdb/frame.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index 4406fc8..d3bd2ab 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -310,7 +310,13 @@ extern void generic_pop_dummy_frame (void);
extern int generic_pc_in_call_dummy (CORE_ADDR pc,
CORE_ADDR sp, CORE_ADDR fp);
-extern char *generic_find_dummy_frame (CORE_ADDR pc, CORE_ADDR fp);
+
+/* NOTE: cagney/2002-06-26: Targets should no longer use this
+ function. Instead, the contents of a dummy frames registers can be
+ obtained by applying: frame_register_unwind to the dummy frame; or
+ get_saved_register to the next outer frame. */
+
+extern char *deprecated_generic_find_dummy_frame (CORE_ADDR pc, CORE_ADDR fp);
extern void generic_fix_call_dummy (char *dummy, CORE_ADDR pc, CORE_ADDR fun,
int nargs, struct value **args,