aboutsummaryrefslogtreecommitdiff
path: root/gdb/ia64-aix-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ia64-aix-nat.c')
-rw-r--r--gdb/ia64-aix-nat.c52
1 files changed, 33 insertions, 19 deletions
diff --git a/gdb/ia64-aix-nat.c b/gdb/ia64-aix-nat.c
index 61f34e1..893f095 100644
--- a/gdb/ia64-aix-nat.c
+++ b/gdb/ia64-aix-nat.c
@@ -42,31 +42,45 @@ supply_gregset (prgregset_t *gregsetp)
for (regi = IA64_GR0_REGNUM; regi <= IA64_GR31_REGNUM; regi++)
{
- supply_register (regi,
- (char *) &(gregsetp->__gpr[regi - IA64_GR0_REGNUM]));
+ regcache_raw_supply (current_regcache, regi,
+ (char *) &(gregsetp->__gpr[regi - IA64_GR0_REGNUM]));
}
for (regi = IA64_BR0_REGNUM; regi <= IA64_BR7_REGNUM; regi++)
{
- supply_register (regi,
- (char *) &(gregsetp->__br[regi - IA64_BR0_REGNUM]));
+ regcache_raw_supply (current_regcache, regi,
+ (char *) &(gregsetp->__br[regi - IA64_BR0_REGNUM]));
}
- supply_register (IA64_PSR_REGNUM, (char *) &(gregsetp->__psr));
- supply_register (IA64_IP_REGNUM, (char *) &(gregsetp->__ip));
- supply_register (IA64_CFM_REGNUM, (char *) &(gregsetp->__ifs));
- supply_register (IA64_RSC_REGNUM, (char *) &(gregsetp->__rsc));
- supply_register (IA64_BSP_REGNUM, (char *) &(gregsetp->__bsp));
- supply_register (IA64_BSPSTORE_REGNUM, (char *) &(gregsetp->__bspstore));
- supply_register (IA64_RNAT_REGNUM, (char *) &(gregsetp->__rnat));
- supply_register (IA64_PFS_REGNUM, (char *) &(gregsetp->__pfs));
- supply_register (IA64_UNAT_REGNUM, (char *) &(gregsetp->__unat));
- supply_register (IA64_PR_REGNUM, (char *) &(gregsetp->__preds));
- supply_register (IA64_CCV_REGNUM, (char *) &(gregsetp->__ccv));
- supply_register (IA64_LC_REGNUM, (char *) &(gregsetp->__lc));
- supply_register (IA64_EC_REGNUM, (char *) &(gregsetp->__ec));
+ regcache_raw_supply (current_regcache, IA64_PSR_REGNUM,
+ (char *) &(gregsetp->__psr));
+ regcache_raw_supply (current_regcache, IA64_IP_REGNUM,
+ (char *) &(gregsetp->__ip));
+ regcache_raw_supply (current_regcache, IA64_CFM_REGNUM,
+ (char *) &(gregsetp->__ifs));
+ regcache_raw_supply (current_regcache, IA64_RSC_REGNUM,
+ (char *) &(gregsetp->__rsc));
+ regcache_raw_supply (current_regcache, IA64_BSP_REGNUM,
+ (char *) &(gregsetp->__bsp));
+ regcache_raw_supply (current_regcache, IA64_BSPSTORE_REGNUM,
+ (char *) &(gregsetp->__bspstore));
+ regcache_raw_supply (current_regcache, IA64_RNAT_REGNUM,
+ (char *) &(gregsetp->__rnat));
+ regcache_raw_supply (current_regcache, IA64_PFS_REGNUM,
+ (char *) &(gregsetp->__pfs));
+ regcache_raw_supply (current_regcache, IA64_UNAT_REGNUM,
+ (char *) &(gregsetp->__unat));
+ regcache_raw_supply (current_regcache, IA64_PR_REGNUM,
+ (char *) &(gregsetp->__preds));
+ regcache_raw_supply (current_regcache, IA64_CCV_REGNUM,
+ (char *) &(gregsetp->__ccv));
+ regcache_raw_supply (current_regcache, IA64_LC_REGNUM,
+ (char *) &(gregsetp->__lc));
+ regcache_raw_supply (current_regcache, IA64_EC_REGNUM,
+ (char *) &(gregsetp->__ec));
/* FIXME: __nats */
- supply_register (IA64_FPSR_REGNUM, (char *) &(gregsetp->__fpsr));
+ regcache_raw_supply (current_regcache, IA64_FPSR_REGNUM,
+ (char *) &(gregsetp->__fpsr));
/* These (for the most part) are pseudo registers and are obtained
by other means. Those that aren't are already handled by the
@@ -139,7 +153,7 @@ supply_fpregset (prfpregset_t *fpregsetp)
int regi;
for (regi = IA64_FR0_REGNUM; regi <= IA64_FR127_REGNUM; regi++)
- supply_register (regi,
+ regcache_raw_supply (current_regcache, regi,
(char *) &(fpregsetp->__fpr[regi - IA64_FR0_REGNUM]));
}