diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-09-25 20:44:02 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-09-25 20:44:02 +0000 |
commit | 1b1d37945b97f73da1c3f1bf0548aa476eca3b4f (patch) | |
tree | 4b914a9753354b495fe50a3ee4a300c663a1a720 /gdb/mips-tdep.c | |
parent | ecc2063b6cb68ff49fcaf954aa825591c772c886 (diff) | |
download | gdb-1b1d37945b97f73da1c3f1bf0548aa476eca3b4f.zip gdb-1b1d37945b97f73da1c3f1bf0548aa476eca3b4f.tar.gz gdb-1b1d37945b97f73da1c3f1bf0548aa476eca3b4f.tar.bz2 |
2003-09-25 Andrew Cagney <cagney@redhat.com>
* frame.h (deprecated_frame_saved_regs): Rename
get_frame_saved_regs.
* cris-tdep.c, frame.c, h8300-tdep.c, hppa-tdep.c: Update.
* mcore-tdep.c, mips-tdep.c, mn10300-tdep.c: Update.
* ns32k-tdep.c, ppc-linux-tdep.c, rs6000-tdep.c: Update.
* s390-tdep.c, sh64-tdep.c, stack.c: Update.
* v850-tdep.c, vax-tdep.c, xstormy16-tdep.c: Update.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r-- | gdb/mips-tdep.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index 027cf44..fc38b58 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -1570,7 +1570,7 @@ mips_find_saved_regs (struct frame_info *fci) t_inst inst; CORE_ADDR *saved_regs; - if (get_frame_saved_regs (fci) != NULL) + if (deprecated_get_frame_saved_regs (fci) != NULL) return; saved_regs = frame_saved_regs_zalloc (fci); @@ -2733,7 +2733,7 @@ mips_init_extra_frame_info (int fromleaf, struct frame_info *fci) get_frame_base (fci)); set_reg_offset (temp_saved_regs, PC_REGNUM, temp_saved_regs[RA_REGNUM]); - memcpy (get_frame_saved_regs (fci), temp_saved_regs, + memcpy (deprecated_get_frame_saved_regs (fci), temp_saved_regs, SIZEOF_FRAME_SAVED_REGS); } } @@ -3957,18 +3957,18 @@ mips_pop_frame (void) mips_find_saved_regs (frame); for (regnum = 0; regnum < NUM_REGS; regnum++) if (regnum != SP_REGNUM && regnum != PC_REGNUM - && get_frame_saved_regs (frame)[regnum]) + && deprecated_get_frame_saved_regs (frame)[regnum]) { /* Floating point registers must not be sign extended, in case MIPS_SAVED_REGSIZE = 4 but sizeof (FP0_REGNUM) == 8. */ if (FP0_REGNUM <= regnum && regnum < FP0_REGNUM + 32) write_register (regnum, - read_memory_unsigned_integer (get_frame_saved_regs (frame)[regnum], + read_memory_unsigned_integer (deprecated_get_frame_saved_regs (frame)[regnum], MIPS_SAVED_REGSIZE)); else write_register (regnum, - read_memory_integer (get_frame_saved_regs (frame)[regnum], + read_memory_integer (deprecated_get_frame_saved_regs (frame)[regnum], MIPS_SAVED_REGSIZE)); } |