aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68hc11-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/m68hc11-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/m68hc11-tdep.c')
-rw-r--r--gdb/m68hc11-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c
index bce95e9..064bf5e 100644
--- a/gdb/m68hc11-tdep.c
+++ b/gdb/m68hc11-tdep.c
@@ -1264,7 +1264,7 @@ m68hc11_store_return_value (struct type *type, struct regcache *regcache,
{
regcache_raw_write_part (regcache, HARD_X_REGNUM, 4 - len,
len - 2, valbuf);
- regcache_raw_write (regcache, HARD_D_REGNUM, valbuf + (len - 2));
+ regcache->raw_write (HARD_D_REGNUM, valbuf + (len - 2));
}
else
error (_("return of value > 4 is not supported."));