aboutsummaryrefslogtreecommitdiff
path: root/gdb/regcache.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:36 -0400
committerSimon Marchi <simon.marchi@ericsson.com>2018-05-30 14:54:36 -0400
commit0b47d9858ca0805cd52ba959276d08899c7b9f8c (patch)
tree3eda76d36ecc459bdc4bfa26cfb3afe4631e0a36 /gdb/regcache.h
parent0ec9f11447514a797ae13760825fa45f9deedd8c (diff)
downloadbinutils-0b47d9858ca0805cd52ba959276d08899c7b9f8c.zip
binutils-0b47d9858ca0805cd52ba959276d08899c7b9f8c.tar.gz
binutils-0b47d9858ca0805cd52ba959276d08899c7b9f8c.tar.bz2
Remove regcache_raw_update
Remove regcache_raw_update, update callers to use readable_regcache::raw_update instead. gdb/ChangeLog: * regcache.h (regcache_raw_update): Remove, update callers to use readable_regcache::raw_update instead. * regcache.c (regcache_raw_update): Remove.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r--gdb/regcache.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h
index fa177b5..dffc27f 100644
--- a/gdb/regcache.h
+++ b/gdb/regcache.h
@@ -35,10 +35,6 @@ extern struct regcache *get_thread_arch_aspace_regcache (ptid_t,
struct gdbarch *,
struct address_space *);
-/* Make certain that the register REGNUM in REGCACHE is up-to-date. */
-
-void regcache_raw_update (struct regcache *regcache, int regnum);
-
/* Transfer a raw register [0..NUM_REGS) between core-gdb and the
regcache. The read variants return the status of the register. */
@@ -257,6 +253,7 @@ public:
enum register_status raw_read_part (int regnum, int offset, int len,
gdb_byte *buf);
+ /* Make certain that the register REGNUM is up-to-date. */
virtual void raw_update (int regnum) = 0;
enum register_status cooked_read (int regnum, gdb_byte *buf);