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 | 5b81add8a72f5f3c393770c5bea84dace417d88b (patch) | |
tree | 1da1e71ad5e8cff2aefd09406a4bd6d3617cb1ea /gdb/regcache.h | |
parent | a857574415f79bfc2b33b5d5910afed27153e32f (diff) | |
download | gdb-5b81add8a72f5f3c393770c5bea84dace417d88b.tar.gz |
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 cd5bb83ee30..5ca7babad67 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(). */ |