aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:36 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:36 -0400
commit0b47d9858ca0805cd52ba959276d08899c7b9f8c (patch)
tree3eda76d36ecc459bdc4bfa26cfb3afe4631e0a36 /gdb/remote.c
parent0ec9f11447514a797ae13760825fa45f9deedd8c (diff)
downloadgdb-0b47d9858ca0805cd52ba959276d08899c7b9f8c.zip
gdb-0b47d9858ca0805cd52ba959276d08899c7b9f8c.tar.gz
gdb-0b47d9858ca0805cd52ba959276d08899c7b9f8c.tar.bz2
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.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c2
1 files changed, 1 insertions, 1 deletions
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;