summaryrefslogtreecommitdiff
path: root/gdb/m32r-linux-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:46 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:46 -0400
commit34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc (patch)
tree4431b346a1c56a2485a09017620b9163a06529da /gdb/m32r-linux-tdep.c
parent73e1c03f93f0294b464dc2b67de1f9aaae84838d (diff)
downloadbinutils-gdb-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.tar.gz
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/m32r-linux-tdep.c')
-rw-r--r--gdb/m32r-linux-tdep.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/m32r-linux-tdep.c b/gdb/m32r-linux-tdep.c
index 56182180239..be35b699c21 100644
--- a/gdb/m32r-linux-tdep.c
+++ b/gdb/m32r-linux-tdep.c
@@ -401,7 +401,7 @@ m32r_linux_collect_gregset (const struct regset *regset,
ULONGEST psw;
gdb_byte buf[4];
- regcache_raw_collect (regcache, PSW_REGNUM, buf);
+ regcache->raw_collect (PSW_REGNUM, buf);
psw = extract_unsigned_integer (buf, 4, byte_order);
for (i = 0; i < ARRAY_SIZE (m32r_pt_regs_offset); i++)
@@ -420,12 +420,11 @@ m32r_linux_collect_gregset (const struct regset *regset,
case CBR_REGNUM:
break;
case M32R_SP_REGNUM:
- regcache_raw_collect (regcache, i, regs
- + ((psw & 0x80) ? SPU_OFFSET : SPI_OFFSET));
+ regcache->raw_collect
+ (i, regs + ((psw & 0x80) ? SPU_OFFSET : SPI_OFFSET));
break;
default:
- regcache_raw_collect (regcache, i,
- regs + m32r_pt_regs_offset[i]);
+ regcache->raw_collect (i, regs + m32r_pt_regs_offset[i]);
}
}
}