aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-01 21:21:49 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-01 21:21:49 +0000
commitbdcdd5356991ff19fc0c2500a16d6f792ac9efa3 (patch)
tree3013c256331fd7aa57f9f125d490070eaa527ac9 /gdb/frame.h
parent4dd8d67b6ac95eb975dc3ea2bb30a38d5754a4e7 (diff)
downloadgdb-bdcdd5356991ff19fc0c2500a16d6f792ac9efa3.zip
gdb-bdcdd5356991ff19fc0c2500a16d6f792ac9efa3.tar.gz
gdb-bdcdd5356991ff19fc0c2500a16d6f792ac9efa3.tar.bz2
2002-11-01 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_generic_get_saved_register): Rename generic_get_saved_register. * blockframe.c (deprecated_generic_get_saved_register): Update. * xstormy16-tdep.c (xstormy16_get_saved_register): Update. (xstormy16_frame_saved_register): Update. * sh-tdep.c (sh_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_get_saved_register): Update. * cris-tdep.c (cris_gdbarch_init): Update. * config/m32r/tm-m32r.h (GET_SAVED_REGISTER): Update. * arm-tdep.c (arm_gdbarch_init): Update.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r--gdb/frame.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index 12c8149..89a148e 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -325,9 +325,14 @@ extern void generic_fix_call_dummy (char *dummy, CORE_ADDR pc, CORE_ADDR fun,
int nargs, struct value **args,
struct type *type, int gcc_p);
-extern void generic_get_saved_register (char *, int *, CORE_ADDR *,
- struct frame_info *, int,
- enum lval_type *);
+/* The function generic_get_saved_register() has been made obsolete.
+ GET_SAVED_REGISTER now defaults to the recursive equivalent -
+ generic_unwind_get_saved_register() - so there is no need to even
+ set GET_SAVED_REGISTER. Architectures that need to override the
+ register unwind mechanism should modify frame->unwind(). */
+extern void deprecated_generic_get_saved_register (char *, int *, CORE_ADDR *,
+ struct frame_info *, int,
+ enum lval_type *);
extern void generic_unwind_get_saved_register (char *raw_buffer,
int *optimized,