From 10eaee5f56611ce5f92ccd305849c0cc6addd130 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 30 May 2018 14:54:37 -0400 Subject: Remove regcache_raw_write Remove regcache_raw_write, update all callers to use regcache::raw_write instead. gdb/ChangeLog: * regcache.h (regcache_raw_write): Remove, update callers to use regcache::raw_write instead. * regcache.c (regcache_raw_write): Remove. --- gdb/regcache.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gdb/regcache.h') diff --git a/gdb/regcache.h b/gdb/regcache.h index 37358522db5..e9cbcbea5b5 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -35,11 +35,6 @@ extern struct regcache *get_thread_arch_aspace_regcache (ptid_t, struct gdbarch *, struct address_space *); -/* Transfer a raw register [0..NUM_REGS) between core-gdb and the - regcache. The read variants return the status of the register. */ - -void regcache_raw_write (struct regcache *regcache, int rawnum, - const gdb_byte *buf); extern enum register_status regcache_raw_read_signed (struct regcache *regcache, int regnum, LONGEST *val); @@ -323,6 +318,9 @@ public: void cooked_write (int regnum, const gdb_byte *buf); + /* Update the value of raw register REGNUM (in the range [0..NUM_REGS)) and + transfer its value to core-gdb. */ + void raw_write (int regnum, const gdb_byte *buf); template> -- cgit v1.2.1