aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-06-09 22:20:43 +0000
committerAndrew Cagney <cagney@redhat.com>2003-06-09 22:20:43 +0000
commit248de703d4bfa08d51a7587ee33c96ab8c8cbaa4 (patch)
tree21b2b2c2a90c700656e54c3bd5b9b6e64ce969ac /gdb/frame.h
parent53df362e2a88ef60e58471bb08f7c288cc6d4729 (diff)
downloadgdb-248de703d4bfa08d51a7587ee33c96ab8c8cbaa4.zip
gdb-248de703d4bfa08d51a7587ee33c96ab8c8cbaa4.tar.gz
gdb-248de703d4bfa08d51a7587ee33c96ab8c8cbaa4.tar.bz2
2003-06-09 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_unwind_get_saved_register): Rename generic_unwind_get_saved_register, update comments. * mips-tdep.c (mips_get_saved_register): Update. * frame.c (deprecated_unwind_get_saved_register): Update.
Diffstat (limited to 'gdb/frame.h')
-rw-r--r--gdb/frame.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/gdb/frame.h b/gdb/frame.h
index f3640b4..4dc7560 100644
--- a/gdb/frame.h
+++ b/gdb/frame.h
@@ -492,19 +492,16 @@ extern int generic_pc_in_call_dummy (CORE_ADDR pc,
extern char *deprecated_generic_find_dummy_frame (CORE_ADDR pc, CORE_ADDR fp);
-void generic_unwind_get_saved_register (char *raw_buffer,
- int *optimizedp,
- CORE_ADDR *addrp,
- struct frame_info *frame,
- int regnum,
- enum lval_type *lvalp);
-
-/* The function generic_get_saved_register() has been made obsolete.
- DEPRECATED_GET_SAVED_REGISTER now defaults to the recursive
- equivalent - generic_unwind_get_saved_register() - so there is no
- need to even set DEPRECATED_GET_SAVED_REGISTER. Architectures that
- need to override the register unwind mechanism should modify
- frame->unwind(). */
+
+/* The DEPRECATED_GET_SAVED_REGISTER architecture interface is
+ entirely redundant. New architectures should implement per-frame
+ unwinders (ref "frame-unwind.h"). */
+extern void deprecated_unwind_get_saved_register (char *raw_buffer,
+ int *optimizedp,
+ CORE_ADDR *addrp,
+ struct frame_info *frame,
+ int regnum,
+ enum lval_type *lvalp);
extern void deprecated_generic_get_saved_register (char *, int *, CORE_ADDR *,
struct frame_info *, int,
enum lval_type *);