diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-08-02 18:08:31 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-08-02 18:08:31 +0000 |
commit | 68365089fc7e8091f6b10a724a499f0e405721d4 (patch) | |
tree | f5f6df0b89c1b90b38a2e9d89b2305d0199144b2 /gdb/regcache.h | |
parent | d8124050fd13563f995362c89e3ac581ec282678 (diff) | |
download | fsf-binutils-gdb-68365089fc7e8091f6b10a724a499f0e405721d4.zip fsf-binutils-gdb-68365089fc7e8091f6b10a724a499f0e405721d4.tar.gz fsf-binutils-gdb-68365089fc7e8091f6b10a724a499f0e405721d4.tar.bz2 |
Add the cooked register interface.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index cd5bb83..5ca7bab 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -41,6 +41,11 @@ void regcache_raw_write (struct regcache *regcache, int rawnum, int regcache_valid_p (struct regcache *regcache, int regnum); CORE_ADDR regcache_raw_read_as_address (struct regcache *regcache, int rawnum); +/* Transfer a cooked register [0..NUM_REGS+NUM_PSEUDO_REGS). */ +void regcache_cooked_read (struct regcache *regcache, int rawnum, void *buf); +void regcache_cooked_write (struct regcache *regcache, int rawnum, + const void *buf); + /* 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(). */ |