diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:36 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:36 -0400 |
commit | 0b8835861cde41744a08f215b48fccd135815b63 (patch) | |
tree | 222cba12875bd2e2df78b6ccfe5ad2e71e726e3a /gdb/mn10300-tdep.c | |
parent | 0b47d9858ca0805cd52ba959276d08899c7b9f8c (diff) | |
download | binutils-0b8835861cde41744a08f215b48fccd135815b63.zip binutils-0b8835861cde41744a08f215b48fccd135815b63.tar.gz binutils-0b8835861cde41744a08f215b48fccd135815b63.tar.bz2 |
Remove regcache_raw_read
Remove regcache_raw_read, update all callers to use
readable_regcache::raw_read instead.
gdb/ChangeLog:
* regcache.h (regcache_raw_read): Remove, update callers to use
readable_regcache::raw_read instead.
* regcache.c (regcache_raw_read): Remove.
Diffstat (limited to 'gdb/mn10300-tdep.c')
-rw-r--r-- | gdb/mn10300-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/mn10300-tdep.c b/gdb/mn10300-tdep.c index e12e01d..c8267cf 100644 --- a/gdb/mn10300-tdep.c +++ b/gdb/mn10300-tdep.c @@ -212,15 +212,15 @@ mn10300_extract_return_value (struct gdbarch *gdbarch, struct type *type, gdb_assert (regsz <= MN10300_MAX_REGISTER_SIZE); if (len <= regsz) { - regcache_raw_read (regcache, reg, buf); + regcache->raw_read (reg, buf); memcpy (valbuf, buf, len); } else if (len <= 2 * regsz) { - regcache_raw_read (regcache, reg, buf); + regcache->raw_read (reg, buf); memcpy (valbuf, buf, regsz); gdb_assert (regsz == register_size (gdbarch, reg + 1)); - regcache_raw_read (regcache, reg + 1, buf); + regcache->raw_read (reg + 1, buf); memcpy ((char *) valbuf + regsz, buf, len - regsz); } else |