diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:40 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:40 -0400 |
commit | 4f0420fdabda76f462bd29a02d9be575e0e0cce7 (patch) | |
tree | 8b216760750e3e77021ea6f6567d7a9c5f90f9ca /gdb/m68hc11-tdep.c | |
parent | 502fe83eb549476fac09ec62c7fd66447791ba2a (diff) | |
download | gdb-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/m68hc11-tdep.c')
-rw-r--r-- | gdb/m68hc11-tdep.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/m68hc11-tdep.c b/gdb/m68hc11-tdep.c index 064bf5e..1490ee2 100644 --- a/gdb/m68hc11-tdep.c +++ b/gdb/m68hc11-tdep.c @@ -1259,11 +1259,10 @@ m68hc11_store_return_value (struct type *type, struct regcache *regcache, /* First argument is passed in D and X registers. */ if (len <= 2) - regcache_raw_write_part (regcache, HARD_D_REGNUM, 2 - len, len, valbuf); + regcache->raw_write_part (HARD_D_REGNUM, 2 - len, len, valbuf); else if (len <= 4) { - regcache_raw_write_part (regcache, HARD_X_REGNUM, 4 - len, - len - 2, valbuf); + regcache->raw_write_part (HARD_X_REGNUM, 4 - len, len - 2, valbuf); regcache->raw_write (HARD_D_REGNUM, valbuf + (len - 2)); } else |