diff options
Diffstat (limited to 'gdb/hppab-nat.c')
-rw-r--r-- | gdb/hppab-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hppab-nat.c b/gdb/hppab-nat.c index cbb481e..416db66 100644 --- a/gdb/hppab-nat.c +++ b/gdb/hppab-nat.c @@ -64,7 +64,7 @@ fetch_register (int regno) offset = U_REGS_OFFSET; regaddr = register_addr (regno, offset); - for (i = 0; i < REGISTER_RAW_SIZE (regno); i += sizeof (int)) + for (i = 0; i < DEPRECATED_REGISTER_RAW_SIZE (regno); i += sizeof (int)) { errno = 0; *(int *) &buf[i] = ptrace (PT_RUREGS, PIDGET (inferior_ptid), @@ -130,7 +130,7 @@ store_inferior_registers (int regno) } } else - for (i = 0; i < REGISTER_RAW_SIZE (regno); i += sizeof (int)) + for (i = 0; i < DEPRECATED_REGISTER_RAW_SIZE (regno); i += sizeof (int)) { errno = 0; ptrace (PT_WUREGS, PIDGET (inferior_ptid), |