aboutsummaryrefslogtreecommitdiff
path: root/gdb/go32-nat.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/go32-nat.c
parent73e1c03f93f0294b464dc2b67de1f9aaae84838d (diff)
downloadbinutils-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.zip
binutils-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.tar.gz
binutils-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/go32-nat.c')
-rw-r--r--gdb/go32-nat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
index a2affe1..81e2ea4 100644
--- a/gdb/go32-nat.c
+++ b/gdb/go32-nat.c
@@ -571,8 +571,8 @@ store_register (const struct regcache *regcache, int regno)
{
struct gdbarch *gdbarch = regcache->arch ();
if (regno < gdbarch_fp0_regnum (gdbarch))
- regcache_raw_collect (regcache, regno,
- (char *) &a_tss + regno_mapping[regno].tss_ofs);
+ regcache->raw_collect (regno,
+ (char *) &a_tss + regno_mapping[regno].tss_ofs);
else if (i386_fp_regnum_p (gdbarch, regno) || i386_fpc_regnum_p (gdbarch,
regno))
i387_collect_fsave (regcache, regno, &npx);