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/xtensa-tdep.c | |
parent | 0b47d9858ca0805cd52ba959276d08899c7b9f8c (diff) | |
download | gdb-0b8835861cde41744a08f215b48fccd135815b63.zip gdb-0b8835861cde41744a08f215b48fccd135815b63.tar.gz gdb-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/xtensa-tdep.c')
-rw-r--r-- | gdb/xtensa-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/xtensa-tdep.c b/gdb/xtensa-tdep.c index 01f9616..32533e8 100644 --- a/gdb/xtensa-tdep.c +++ b/gdb/xtensa-tdep.c @@ -1598,7 +1598,7 @@ xtensa_extract_return_value (struct type *type, if (len < 4) regcache_raw_read_part (regcache, areg, offset, len, valbuf); else - regcache_raw_read (regcache, areg, valbuf); + regcache->raw_read (areg, valbuf); } } @@ -1928,7 +1928,7 @@ xtensa_push_dummy_call (struct gdbarch *gdbarch, to modify WINDOWSTART register to make it look like there is only one register window corresponding to WINDOWEBASE. */ - regcache_raw_read (regcache, gdbarch_tdep (gdbarch)->wb_regnum, buf); + regcache->raw_read (gdbarch_tdep (gdbarch)->wb_regnum, buf); regcache_cooked_write_unsigned (regcache, gdbarch_tdep (gdbarch)->ws_regnum, 1 << extract_unsigned_integer (buf, 4, byte_order)); |