diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:46 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:46 -0400 |
commit | 34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc (patch) | |
tree | 4431b346a1c56a2485a09017620b9163a06529da /gdb/sparc-obsd-tdep.c | |
parent | 73e1c03f93f0294b464dc2b67de1f9aaae84838d (diff) | |
download | gdb-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.zip gdb-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.tar.gz gdb-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.tar.bz2 |
Remove regcache_raw_collect
Remove regcache_raw_collect, update callers to use
regcache::raw_collect.
gdb/ChangeLog:
* regcache.h (regcache_raw_collect): Remove, update callers to
use regcache::raw_collect.
* regcache.c (regcache_raw_collect): Remove.
Diffstat (limited to 'gdb/sparc-obsd-tdep.c')
-rw-r--r-- | gdb/sparc-obsd-tdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/sparc-obsd-tdep.c b/gdb/sparc-obsd-tdep.c index c821562..0f6caa6 100644 --- a/gdb/sparc-obsd-tdep.c +++ b/gdb/sparc-obsd-tdep.c @@ -208,7 +208,7 @@ sparc32obsd_collect_uthread(const struct regcache *regcache, { CORE_ADDR fp_addr = addr + SPARC32OBSD_UTHREAD_FP_OFFSET; - regcache_raw_collect (regcache, SPARC_SP_REGNUM, buf); + regcache->raw_collect (SPARC_SP_REGNUM, buf); write_memory (fp_addr,buf, 4); } @@ -216,7 +216,7 @@ sparc32obsd_collect_uthread(const struct regcache *regcache, { CORE_ADDR i7, i7_addr = addr + SPARC32OBSD_UTHREAD_PC_OFFSET; - regcache_raw_collect (regcache, SPARC32_PC_REGNUM, buf); + regcache->raw_collect (SPARC32_PC_REGNUM, buf); i7 = extract_unsigned_integer (buf, 4, byte_order) - 8; write_memory_unsigned_integer (i7_addr, 4, byte_order, i7); @@ -224,7 +224,7 @@ sparc32obsd_collect_uthread(const struct regcache *regcache, return; } - regcache_raw_collect (regcache, SPARC_SP_REGNUM, buf); + regcache->raw_collect (SPARC_SP_REGNUM, buf); sp = extract_unsigned_integer (buf, 4, byte_order); sparc_collect_rwindow (regcache, sp, regnum); } |