diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:45 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2018-05-30 14:54:45 -0400 |
commit | 73e1c03f93f0294b464dc2b67de1f9aaae84838d (patch) | |
tree | 723ab692f6e43ff44e8ece53bdb5cff45cc576e0 /gdb/regcache.h | |
parent | e4c4a59b48b2cec10cffac4f562937de00cb5f3f (diff) | |
download | gdb-73e1c03f93f0294b464dc2b67de1f9aaae84838d.zip gdb-73e1c03f93f0294b464dc2b67de1f9aaae84838d.tar.gz gdb-73e1c03f93f0294b464dc2b67de1f9aaae84838d.tar.bz2 |
Remove regcache_raw_supply
Remove regcache_raw_supply, update callers to use
detached_regcache::raw_supply.
gdb/ChangeLog:
* regcache.h (regcache_raw_supply): Remove, update callers to
use detached_regcache::raw_supply.
* regcache.c (regcache_raw_supply): Remove.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index 064930c..b60f031 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -71,8 +71,6 @@ extern void regcache_write_pc (struct regcache *regcache, CORE_ADDR pc); target. These functions are called by the target in response to a target_fetch_registers() or target_store_registers(). */ -extern void regcache_raw_supply (struct regcache *regcache, - int regnum, const void *buf); extern void regcache_raw_collect (const struct regcache *regcache, int regnum, void *buf); @@ -243,6 +241,7 @@ public: : readable_regcache (gdbarch, has_pseudo) {} + /* Supply register REGNUM, whose contents are stored in BUF, to REGCACHE. */ void raw_supply (int regnum, const void *buf); void raw_supply (int regnum, const reg_buffer &src) |