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/regcache.h | |
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/regcache.h')
-rw-r--r-- | gdb/regcache.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index b60f0316838..3edddf47e12 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -67,13 +67,6 @@ extern void regcache_cooked_write_unsigned (struct regcache *regcache, /* For regcache_read_pc see common/common-regcache.h. */ extern void regcache_write_pc (struct regcache *regcache, CORE_ADDR pc); -/* Transfer a raw register [0..NUM_REGS) between the regcache and the - target. These functions are called by the target in response to a - target_fetch_registers() or target_store_registers(). */ - -extern void regcache_raw_collect (const struct regcache *regcache, - int regnum, void *buf); - /* Mapping between register numbers and offsets in a buffer, for use in the '*regset' functions below. In an array of 'regcache_map_entry' each element is interpreted like follows: @@ -299,6 +292,7 @@ public: void raw_update (int regnum) override; + /* Collect register REGNUM from REGCACHE and store its contents in BUF. */ void raw_collect (int regnum, void *buf) const; void raw_collect_integer (int regnum, gdb_byte *addr, int addr_len, |