aboutsummaryrefslogtreecommitdiff
path: root/gdb/m68k-tdep.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:40 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:40 -0400
commit4f0420fdabda76f462bd29a02d9be575e0e0cce7 (patch)
tree8b216760750e3e77021ea6f6567d7a9c5f90f9ca /gdb/m68k-tdep.c
parent502fe83eb549476fac09ec62c7fd66447791ba2a (diff)
downloadgdb-4f0420fdabda76f462bd29a02d9be575e0e0cce7.zip
gdb-4f0420fdabda76f462bd29a02d9be575e0e0cce7.tar.gz
gdb-4f0420fdabda76f462bd29a02d9be575e0e0cce7.tar.bz2
Remove regcache_raw_write_part
Remove regcache_raw_write_part, update callers to use regcache::raw_write_part instead. gdb/ChangeLog: * regcache.h (regcache_raw_write_part): Remove, update callers to use regcache::raw_write_part instead. * regcache.c (regcache_raw_write_part): Remove.
Diffstat (limited to 'gdb/m68k-tdep.c')
-rw-r--r--gdb/m68k-tdep.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/m68k-tdep.c b/gdb/m68k-tdep.c
index 31c2771..432c37c 100644
--- a/gdb/m68k-tdep.c
+++ b/gdb/m68k-tdep.c
@@ -329,11 +329,10 @@ m68k_store_return_value (struct type *type, struct regcache *regcache,
int len = TYPE_LENGTH (type);
if (len <= 4)
- regcache_raw_write_part (regcache, M68K_D0_REGNUM, 4 - len, len, valbuf);
+ regcache->raw_write_part (M68K_D0_REGNUM, 4 - len, len, valbuf);
else if (len <= 8)
{
- regcache_raw_write_part (regcache, M68K_D0_REGNUM, 8 - len,
- len - 4, valbuf);
+ regcache->raw_write_part (M68K_D0_REGNUM, 8 - len, len - 4, valbuf);
regcache->raw_write (M68K_D1_REGNUM, valbuf + (len - 4));
}
else