diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:46 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:46 -0400 |
commit | 34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc (patch) | |
tree | 4431b346a1c56a2485a09017620b9163a06529da /gdb/aarch32-linux-nat.c | |
parent | 73e1c03f93f0294b464dc2b67de1f9aaae84838d (diff) | |
download | gdb-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.zip gdb-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.tar.gz gdb-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.tar.bz2 |
Remove regcache_raw_collect
Remove regcache_raw_collect, update callers to use
regcache::raw_collect.
gdb/ChangeLog:
* regcache.h (regcache_raw_collect): Remove, update callers to
use regcache::raw_collect.
* regcache.c (regcache_raw_collect): Remove.
Diffstat (limited to 'gdb/aarch32-linux-nat.c')
-rw-r--r-- | gdb/aarch32-linux-nat.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/aarch32-linux-nat.c b/gdb/aarch32-linux-nat.c index 3297d6c..e390361 100644 --- a/gdb/aarch32-linux-nat.c +++ b/gdb/aarch32-linux-nat.c @@ -62,7 +62,7 @@ aarch32_gp_regcache_collect (const struct regcache *regcache, uint32_t *regs, for (regno = ARM_A1_REGNUM; regno <= ARM_PC_REGNUM; regno++) { if (REG_VALID == regcache->get_register_status (regno)) - regcache_raw_collect (regcache, regno, ®s[regno]); + regcache->raw_collect (regno, ®s[regno]); } if (arm_apcs_32 @@ -70,8 +70,7 @@ aarch32_gp_regcache_collect (const struct regcache *regcache, uint32_t *regs, { uint32_t cpsr = regs[ARM_CPSR_GREGNUM]; - regcache_raw_collect (regcache, ARM_PS_REGNUM, - ®s[ARM_CPSR_GREGNUM]); + regcache->raw_collect (ARM_PS_REGNUM, ®s[ARM_CPSR_GREGNUM]); /* Keep reserved bits bit 20 to bit 23. */ regs[ARM_CPSR_GREGNUM] = ((regs[ARM_CPSR_GREGNUM] & 0xff0fffff) | (cpsr & 0x00f00000)); @@ -103,7 +102,7 @@ aarch32_vfp_regcache_collect (const struct regcache *regcache, gdb_byte *regs, int regno; for (regno = 0; regno < vfp_register_count; regno++) - regcache_raw_collect (regcache, regno + ARM_D0_REGNUM, regs + regno * 8); + regcache->raw_collect (regno + ARM_D0_REGNUM, regs + regno * 8); - regcache_raw_collect (regcache, ARM_FPSCR_REGNUM, regs + 32 * 8); + regcache->raw_collect (ARM_FPSCR_REGNUM, regs + 32 * 8); } |