summaryrefslogtreecommitdiff
path: root/gdb/linux-nat-trad.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/linux-nat-trad.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/linux-nat-trad.c')
-rw-r--r--gdb/linux-nat-trad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linux-nat-trad.c b/gdb/linux-nat-trad.c
index 23abb0f7f84..9776a209c7f 100644
--- a/gdb/linux-nat-trad.c
+++ b/gdb/linux-nat-trad.c
@@ -110,7 +110,7 @@ linux_nat_trad_target::store_register (const struct regcache *regcache,
buf = (gdb_byte *) alloca (size);
/* Write the register contents into the inferior a chunk at a time. */
- regcache_raw_collect (regcache, regnum, buf);
+ regcache->raw_collect (regnum, buf);
for (i = 0; i < size; i += sizeof (PTRACE_TYPE_RET))
{
size_t chunk = std::min (sizeof (PTRACE_TYPE_RET), size - i);