diff options
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index 3735852..e9cbcbe 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<typename T, typename = RequireLongest<T>> |