From 0b47d9858ca0805cd52ba959276d08899c7b9f8c Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 30 May 2018 14:54:36 -0400 Subject: Remove regcache_raw_update Remove regcache_raw_update, update callers to use readable_regcache::raw_update instead. gdb/ChangeLog: * regcache.h (regcache_raw_update): Remove, update callers to use readable_regcache::raw_update instead. * regcache.c (regcache_raw_update): Remove. --- gdb/remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/remote.c') diff --git a/gdb/remote.c b/gdb/remote.c index 3df9ad4..3aca5fb 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -8339,7 +8339,7 @@ remote_target::prepare_to_store (struct regcache *regcache) /* Make sure all the necessary registers are cached. */ for (i = 0; i < gdbarch_num_regs (regcache->arch ()); i++) if (rsa->regs[i].in_g_packet) - regcache_raw_update (regcache, rsa->regs[i].regnum); + regcache->raw_update (rsa->regs[i].regnum); break; case PACKET_ENABLE: break; -- cgit v1.1