diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-03-14 16:05:36 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-03-14 16:05:36 +0000 |
commit | 129c1cd6c2eade2bef833eaf25a0e9b0de9ef946 (patch) | |
tree | 1018490dc7433e5fdfeade1f30397e96a15d700a /gdb/frame.c | |
parent | 49ae03bff7760b46399fb873052fbdf2d7ebd5e3 (diff) | |
download | gdb-129c1cd6c2eade2bef833eaf25a0e9b0de9ef946.zip gdb-129c1cd6c2eade2bef833eaf25a0e9b0de9ef946.tar.gz gdb-129c1cd6c2eade2bef833eaf25a0e9b0de9ef946.tar.bz2 |
2003-03-14 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_GET_SAVED_REGISTER): Replace
GET_SAVED_REGISTER.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.h: Update comments.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
* frame.c (frame_register): Update.
(get_saved_register): Update.
* config/sparc/tm-sparc.h (DEPRECATED_GET_SAVED_REGISTER): Update.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r-- | gdb/frame.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/frame.c b/gdb/frame.c index 2a70ebb..5f67d4d 100644 --- a/gdb/frame.c +++ b/gdb/frame.c @@ -268,9 +268,10 @@ frame_register (struct frame_info *frame, int regnum, /* Ulgh! Old code that, for lval_register, sets ADDRP to the offset of the register in the register cache. It should instead return the REGNUM corresponding to that register. Translate the . */ - if (GET_SAVED_REGISTER_P ()) + if (DEPRECATED_GET_SAVED_REGISTER_P ()) { - GET_SAVED_REGISTER (bufferp, optimizedp, addrp, frame, regnum, lvalp); + DEPRECATED_GET_SAVED_REGISTER (bufferp, optimizedp, addrp, frame, + regnum, lvalp); /* Compute the REALNUM if the caller wants it. */ if (*lvalp == lval_register) { @@ -406,9 +407,10 @@ get_saved_register (char *raw_buffer, int regnum, enum lval_type *lval) { - if (GET_SAVED_REGISTER_P ()) + if (DEPRECATED_GET_SAVED_REGISTER_P ()) { - GET_SAVED_REGISTER (raw_buffer, optimized, addrp, frame, regnum, lval); + DEPRECATED_GET_SAVED_REGISTER (raw_buffer, optimized, addrp, frame, + regnum, lval); return; } generic_unwind_get_saved_register (raw_buffer, optimized, addrp, frame, |