aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppam3-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/hppam3-nat.c')
-rw-r--r--gdb/hppam3-nat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/hppam3-nat.c b/gdb/hppam3-nat.c
index 4ec1c50..a89fae9 100644
--- a/gdb/hppam3-nat.c
+++ b/gdb/hppam3-nat.c
@@ -115,15 +115,15 @@ store_inferior_registers (int regno)
*/
if (regno > 0 && regno < NUM_REGS)
{
- memcpy (&state[regno], &deprecated_registers[REGISTER_BYTE (regno)],
+ memcpy (&state[regno], &deprecated_registers[DEPRECATED_REGISTER_BYTE (regno)],
REGISTER_RAW_SIZE (regno));
}
else
{
for (index = 0; index < NUM_REGS; index++)
- memcpy (&state[index], &deprecated_registers[REGISTER_BYTE (index)],
+ memcpy (&state[index], &deprecated_registers[DEPRECATED_REGISTER_BYTE (index)],
REGISTER_RAW_SIZE (index));
-/* state[index] = deprecated_registers[REGISTER_BYTE (index)]; */
+/* state[index] = deprecated_registers[DEPRECATED_REGISTER_BYTE (index)]; */
}