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/i386-gnu-nat.c | |
parent | Remove regcache_raw_supply (diff) | |
download | binutils-gdb-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.tar.gz binutils-gdb-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.tar.bz2 binutils-gdb-34a79281e4bd5d1a7f1d22a5a5be1ac2db56a3fc.zip |
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/i386-gnu-nat.c')
-rw-r--r-- | gdb/i386-gnu-nat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/i386-gnu-nat.c b/gdb/i386-gnu-nat.c index 1acfc078015..9875d813485 100644 --- a/gdb/i386-gnu-nat.c +++ b/gdb/i386-gnu-nat.c @@ -265,7 +265,7 @@ gnu_store_registers (struct target_ops *ops, for (i = 0; i < I386_NUM_GREGS; i++) if (REG_VALID == regcache->get_register_status (i)) - regcache_raw_collect (regcache, i, REG_ADDR (state, i)); + regcache->raw_collect (i, REG_ADDR (state, i)); } else { @@ -273,7 +273,7 @@ gnu_store_registers (struct target_ops *ops, gdbarch_register_name (gdbarch, regno)); gdb_assert (REG_VALID == regcache->get_register_status (regno)); - regcache_raw_collect (regcache, regno, REG_ADDR (state, regno)); + regcache->raw_collect (regno, REG_ADDR (state, regno)); } /* Restore the T bit. */ |