summaryrefslogtreecommitdiff
path: root/gdb/regcache.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-08-02 18:08:31 +0000
committerAndrew Cagney <cagney@redhat.com>2002-08-02 18:08:31 +0000
commit5b81add8a72f5f3c393770c5bea84dace417d88b (patch)
tree1da1e71ad5e8cff2aefd09406a4bd6d3617cb1ea /gdb/regcache.h
parenta857574415f79bfc2b33b5d5910afed27153e32f (diff)
downloadgdb-5b81add8a72f5f3c393770c5bea84dace417d88b.tar.gz
Add the cooked register interface.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r--gdb/regcache.h5
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(). */