From 34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 30 May 2018 14:54:46 -0400 Subject: 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. --- gdb/remote.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/remote.c') diff --git a/gdb/remote.c b/gdb/remote.c index 3f0b678..3013fbe 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -8367,7 +8367,7 @@ remote_target::store_register_using_P (const struct regcache *regcache, xsnprintf (buf, get_remote_packet_size (), "P%s=", phex_nz (reg->pnum, 0)); p = buf + strlen (buf); - regcache_raw_collect (regcache, reg->regnum, regp); + regcache->raw_collect (reg->regnum, regp); bin2hex (regp, p, register_size (gdbarch, reg->regnum)); putpkt (rs->buf); getpkt (&rs->buf, &rs->buf_size, 0); @@ -8409,7 +8409,7 @@ remote_target::store_registers_using_G (const struct regcache *regcache) struct packet_reg *r = &rsa->regs[i]; if (r->in_g_packet) - regcache_raw_collect (regcache, r->regnum, regs + r->offset); + regcache->raw_collect (r->regnum, regs + r->offset); } } -- cgit v1.1