diff options
Diffstat (limited to 'gdb/ia64-aix-nat.c')
-rw-r--r-- | gdb/ia64-aix-nat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/ia64-aix-nat.c b/gdb/ia64-aix-nat.c index 893f095..9f37f8f 100644 --- a/gdb/ia64-aix-nat.c +++ b/gdb/ia64-aix-nat.c @@ -101,7 +101,7 @@ fill_gregset (prgregset_t *gregsetp, int regno) #define COPY_REG(_fld_,_regi_) \ if ((regno == -1) || regno == _regi_) \ memcpy (&(gregsetp->_fld_), &deprecated_registers[DEPRECATED_REGISTER_BYTE (_regi_)], \ - DEPRECATED_REGISTER_RAW_SIZE (_regi_)) + register_size (current_gdbarch, _regi_)) for (regi = IA64_GR0_REGNUM; regi <= IA64_GR31_REGNUM; regi++) { @@ -124,10 +124,10 @@ fill_gregset (prgregset_t *gregsetp, int regno) { memcpy (&(gregsetp->__bspstore), &deprecated_registers[DEPRECATED_REGISTER_BYTE (IA64_BSP_REGNUM)], - DEPRECATED_REGISTER_RAW_SIZE (IA64_BSP_REGNUM)); + register_size (current_gdbarch, IA64_BSP_REGNUM)); memcpy (&deprecated_registers[DEPRECATED_REGISTER_BYTE (IA64_BSPSTORE_REGNUM)], &deprecated_registers[DEPRECATED_REGISTER_BYTE (IA64_BSP_REGNUM)], - DEPRECATED_REGISTER_RAW_SIZE (IA64_BSP_REGNUM)); + register_size (current_gdbarch, IA64_BSP_REGNUM)); } #if 0 @@ -170,7 +170,7 @@ fill_fpregset (prfpregset_t *fpregsetp, int regno) { from = (char *) &deprecated_registers[DEPRECATED_REGISTER_BYTE (regi)]; to = (char *) &(fpregsetp->__fpr[regi - IA64_FR0_REGNUM]); - memcpy (to, from, DEPRECATED_REGISTER_RAW_SIZE (regi)); + memcpy (to, from, register_size (current_gdbarch, regi)); } } } |