diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-06-21 16:51:47 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-06-21 16:51:47 +0000 |
commit | 6e51443a2a52062e54da687f7a70127a727335be (patch) | |
tree | e5d37cbb34b56f04acebfa01fd662bf49c4c00db /gdb/frame.c | |
parent | ed183c7cdfbf1b412475b66feac3b6d4321404da (diff) | |
download | gdb-6e51443a2a52062e54da687f7a70127a727335be.zip gdb-6e51443a2a52062e54da687f7a70127a727335be.tar.gz gdb-6e51443a2a52062e54da687f7a70127a727335be.tar.bz2 |
2003-06-21 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_unwind_get_saved_register): Delete.
* frame.c (deprecated_unwind_get_saved_register): Delete function.
* mips-tdep.c (mips_get_saved_register): Use frame_register_unwind
and deprecated_get_next_frame_hack instead of
deprecated_unwind_get_saved_register.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r-- | gdb/frame.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index b873b3a..eadb77d 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -738,36 +738,6 @@ put_frame_register (struct frame_info *frame, int regnum, const void *buf) } } -void -deprecated_unwind_get_saved_register (char *raw_buffer, - int *optimizedp, - CORE_ADDR *addrp, - struct frame_info *frame, - int regnum, - enum lval_type *lvalp) -{ - int optimizedx; - CORE_ADDR addrx; - int realnumx; - enum lval_type lvalx; - - if (!target_has_registers) - error ("No registers."); - - /* Keep things simple, ensure that all the pointers (except valuep) - are non NULL. */ - if (optimizedp == NULL) - optimizedp = &optimizedx; - if (lvalp == NULL) - lvalp = &lvalx; - if (addrp == NULL) - addrp = &addrx; - - gdb_assert (frame != NULL && frame->next != NULL); - frame_register_unwind (frame->next, regnum, optimizedp, lvalp, addrp, - &realnumx, raw_buffer); -} - /* frame_register_read () Find and return the value of REGNUM for the specified stack frame. |