aboutsummaryrefslogtreecommitdiff
path: root/gdb/iq2000-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:37 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:37 -0400
commit10eaee5f56611ce5f92ccd305849c0cc6addd130 (patch)
treed7ddbdf42f173b202ee806251a9053db8f2c40d8 /gdb/iq2000-tdep.c
parent0b8835861cde41744a08f215b48fccd135815b63 (diff)
downloadgdb-10eaee5f56611ce5f92ccd305849c0cc6addd130.zip
gdb-10eaee5f56611ce5f92ccd305849c0cc6addd130.tar.gz
gdb-10eaee5f56611ce5f92ccd305849c0cc6addd130.tar.bz2
Remove regcache_raw_write
Remove regcache_raw_write, update all callers to use regcache::raw_write instead. gdb/ChangeLog: * regcache.h (regcache_raw_write): Remove, update callers to use regcache::raw_write instead. * regcache.c (regcache_raw_write): Remove.
Diffstat (limited to 'gdb/iq2000-tdep.c')
-rw-r--r--gdb/iq2000-tdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/iq2000-tdep.c b/gdb/iq2000-tdep.c
index f8e2f23..9f7f35d 100644
--- a/gdb/iq2000-tdep.c
+++ b/gdb/iq2000-tdep.c
@@ -510,7 +510,7 @@ iq2000_store_return_value (struct type *type, struct regcache *regcache,
memset (buf, 0, 4);
memcpy (buf + 4 - size, valbuf, size);
- regcache_raw_write (regcache, regno++, buf);
+ regcache->raw_write (regno++, buf);
len -= size;
valbuf = ((char *) valbuf) + size;
}
@@ -737,7 +737,7 @@ iq2000_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
if (argreg <= E_LAST_ARGREG)
{
/* Passed in a register. */
- regcache_raw_write (regcache, argreg++, buf);
+ regcache->raw_write (argreg++, buf);
}
else
{
@@ -756,8 +756,8 @@ iq2000_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
(must start with an even-numbered reg). */
if (((argreg - E_1ST_ARGREG) % 2) != 0)
argreg++;
- regcache_raw_write (regcache, argreg++, val);
- regcache_raw_write (regcache, argreg++, val + 4);
+ regcache->raw_write (argreg++, val);
+ regcache->raw_write (argreg++, val + 4);
}
else
{