diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-03-24 01:26:09 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-03-24 01:26:09 +0000 |
commit | 61a0eb5b8e81215b3d3d7be207315572af3fe8a8 (patch) | |
tree | 965ae3b93b17a55427bf619b9d5d3178453bcbdf /gdb/regcache.h | |
parent | cc51ea7952632d60e3d95071c3e0b2f1ab2d5da1 (diff) | |
download | gdb-61a0eb5b8e81215b3d3d7be207315572af3fe8a8.zip gdb-61a0eb5b8e81215b3d3d7be207315572af3fe8a8.tar.gz gdb-61a0eb5b8e81215b3d3d7be207315572af3fe8a8.tar.bz2 |
Re-vamp the register code so that a lot more is routed through
{read,write}_register_gen. Hook that function with multi-arch.
Diffstat (limited to 'gdb/regcache.h')
-rw-r--r-- | gdb/regcache.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/gdb/regcache.h b/gdb/regcache.h index cb5754b..dbffb57 100644 --- a/gdb/regcache.h +++ b/gdb/regcache.h @@ -22,13 +22,20 @@ #ifndef REGCACHE_H #define REGCACHE_H -/* Character array containing an image of the inferior programs' - registers. */ +/* Transfer a raw register [0..NUM_REGS) between core-gdb and the + regcache. */ + +void regcache_read (int rawnum, char *buf); +void regcache_write (int rawnum, char *buf); + +/* DEPRECATED: Character array containing an image of the inferior + programs' registers for the most recently referenced thread. */ extern char *registers; -/* Character array containing the current state of each register - (unavailable<0, invalid=0, valid>0). */ +/* DEPRECATED: Character array containing the current state of each + register (unavailable<0, invalid=0, valid>0) for the most recently + referenced thread. */ extern signed char *register_valid; @@ -38,6 +45,9 @@ extern void set_register_cached (int regnum, int state); extern void register_changed (int regnum); +/* DEPRECATED: Functional interface returning pointer into registers[] + array. */ + extern char *register_buffer (int regnum); extern void registers_changed (void); |