diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:45 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:45 -0400 |
commit | 73e1c03f93f0294b464dc2b67de1f9aaae84838d (patch) | |
tree | 723ab692f6e43ff44e8ece53bdb5cff45cc576e0 /gdb/arm-linux-nat.c | |
parent | e4c4a59b48b2cec10cffac4f562937de00cb5f3f (diff) | |
download | gdb-73e1c03f93f0294b464dc2b67de1f9aaae84838d.zip gdb-73e1c03f93f0294b464dc2b67de1f9aaae84838d.tar.gz gdb-73e1c03f93f0294b464dc2b67de1f9aaae84838d.tar.bz2 |
Remove regcache_raw_supply
Remove regcache_raw_supply, update callers to use
detached_regcache::raw_supply.
gdb/ChangeLog:
* regcache.h (regcache_raw_supply): Remove, update callers to
use detached_regcache::raw_supply.
* regcache.c (regcache_raw_supply): Remove.
Diffstat (limited to 'gdb/arm-linux-nat.c')
-rw-r--r-- | gdb/arm-linux-nat.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c index a1bef7a..163e1be 100644 --- a/gdb/arm-linux-nat.c +++ b/gdb/arm-linux-nat.c @@ -138,8 +138,7 @@ fetch_fpregs (struct regcache *regcache) perror_with_name (_("Unable to fetch the floating point registers.")); /* Fetch fpsr. */ - regcache_raw_supply (regcache, ARM_FPS_REGNUM, - fp + NWFPE_FPSR_OFFSET); + regcache->raw_supply (ARM_FPS_REGNUM, fp + NWFPE_FPSR_OFFSET); /* Fetch the floating point registers. */ for (regno = ARM_F0_REGNUM; regno <= ARM_F7_REGNUM; regno++) @@ -292,16 +291,15 @@ fetch_wmmx_regs (struct regcache *regcache) perror_with_name (_("Unable to fetch WMMX registers.")); for (regno = 0; regno < 16; regno++) - regcache_raw_supply (regcache, regno + ARM_WR0_REGNUM, - ®buf[regno * 8]); + regcache->raw_supply (regno + ARM_WR0_REGNUM, ®buf[regno * 8]); for (regno = 0; regno < 2; regno++) - regcache_raw_supply (regcache, regno + ARM_WCSSF_REGNUM, - ®buf[16 * 8 + regno * 4]); + regcache->raw_supply (regno + ARM_WCSSF_REGNUM, + ®buf[16 * 8 + regno * 4]); for (regno = 0; regno < 4; regno++) - regcache_raw_supply (regcache, regno + ARM_WCGR0_REGNUM, - ®buf[16 * 8 + 2 * 4 + regno * 4]); + regcache->raw_supply (regno + ARM_WCGR0_REGNUM, + ®buf[16 * 8 + 2 * 4 + regno * 4]); } static void |