aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh64-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-09-17 14:24:31 +0000
committerAndrew Cagney <cagney@redhat.com>2003-09-17 14:24:31 +0000
commit627003499ddac21de88a2d00a0062e2f9407dcce (patch)
tree68526bf4dde27818e170202a302f690526f661fa /gdb/sh64-tdep.c
parent8cd5b1133931ef51359b4b88efab8f4bd59d4c23 (diff)
downloadgdb-627003499ddac21de88a2d00a0062e2f9407dcce.zip
gdb-627003499ddac21de88a2d00a0062e2f9407dcce.tar.gz
gdb-627003499ddac21de88a2d00a0062e2f9407dcce.tar.bz2
2003-09-17 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE. * gdbarch.h, gdbarch.c: Regenerate. * arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update. * d10v-tdep.c, frame.c: Update. * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. * ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update. * mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update. * mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update. * ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update. * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update. * remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update. * sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update. * v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update. * config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update. * config/pa/nm-hppah.h: Update. 2003-09-17 Andrew Cagney <cagney@redhat.com> * mi/mi-main.c: Rename REGISTER_BYTE to DEPRECATED_REGISTER_BYTE.
Diffstat (limited to 'gdb/sh64-tdep.c')
-rw-r--r--gdb/sh64-tdep.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c
index dc0ecc7..99372b8 100644
--- a/gdb/sh64-tdep.c
+++ b/gdb/sh64-tdep.c
@@ -1292,7 +1292,7 @@ sh64_get_saved_register (char *raw_buffer, int *optimized, CORE_ADDR *addrp,
if (raw_buffer)
memcpy (raw_buffer,
(deprecated_generic_find_dummy_frame (get_frame_pc (frame), get_frame_base (frame))
- + REGISTER_BYTE (regnum)),
+ + DEPRECATED_REGISTER_BYTE (regnum)),
REGISTER_RAW_SIZE (regnum));
return;
}
@@ -1343,7 +1343,7 @@ sh64_get_saved_register (char *raw_buffer, int *optimized, CORE_ADDR *addrp,
if (lval) /* found it in a live register */
*lval = lval_register;
if (addrp)
- *addrp = REGISTER_BYTE (live_regnum);
+ *addrp = DEPRECATED_REGISTER_BYTE (live_regnum);
if (raw_buffer)
deprecated_read_register_gen (live_regnum, raw_buffer);
}
@@ -1351,7 +1351,7 @@ sh64_get_saved_register (char *raw_buffer, int *optimized, CORE_ADDR *addrp,
static CORE_ADDR
sh64_extract_struct_value_address (char *regbuf)
{
- return (extract_unsigned_integer ((regbuf + REGISTER_BYTE (STRUCT_RETURN_REGNUM)),
+ return (extract_unsigned_integer ((regbuf + DEPRECATED_REGISTER_BYTE (STRUCT_RETURN_REGNUM)),
REGISTER_RAW_SIZE (STRUCT_RETURN_REGNUM)));
}
@@ -1673,7 +1673,7 @@ sh64_extract_return_value (struct type *type, char *regbuf, char *valbuf)
{
/* Return value stored in FP0_REGNUM */
return_register = FP0_REGNUM;
- offset = REGISTER_BYTE (return_register);
+ offset = DEPRECATED_REGISTER_BYTE (return_register);
memcpy (valbuf, (char *) regbuf + offset, len);
}
else if (len == 8)
@@ -1682,7 +1682,7 @@ sh64_extract_return_value (struct type *type, char *regbuf, char *valbuf)
DOUBLEST val;
return_register = DR0_REGNUM;
- offset = REGISTER_BYTE (return_register);
+ offset = DEPRECATED_REGISTER_BYTE (return_register);
if (TARGET_BYTE_ORDER == BFD_ENDIAN_LITTLE)
floatformat_to_doublest (&floatformat_ieee_double_littlebyte_bigword,
@@ -1701,10 +1701,10 @@ sh64_extract_return_value (struct type *type, char *regbuf, char *valbuf)
at the most significant end. */
return_register = DEFAULT_RETURN_REGNUM;
if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
- offset = REGISTER_BYTE (return_register) +
+ offset = DEPRECATED_REGISTER_BYTE (return_register) +
REGISTER_RAW_SIZE (return_register) - len;
else
- offset = REGISTER_BYTE (return_register);
+ offset = DEPRECATED_REGISTER_BYTE (return_register);
memcpy (valbuf, (char *) regbuf + offset, len);
}
else