aboutsummaryrefslogtreecommitdiff
path: root/gdb/regset.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-05-23 22:42:59 +0000
committerMark Kettenis <kettenis@gnu.org>2004-05-23 22:42:59 +0000
commit368702b1fe81dbafff146a7d59717c680826a16b (patch)
tree465b0998a84fd85f3db0d8353b87ebc42ead5688 /gdb/regset.h
parenta85785bc058d1a1bcaf3bd853cd8d35ad81e097c (diff)
downloadfsf-binutils-gdb-368702b1fe81dbafff146a7d59717c680826a16b.zip
fsf-binutils-gdb-368702b1fe81dbafff146a7d59717c680826a16b.tar.gz
fsf-binutils-gdb-368702b1fe81dbafff146a7d59717c680826a16b.tar.bz2
* regset.h (struct regset): Add back `regset' member.
Diffstat (limited to 'gdb/regset.h')
-rw-r--r--gdb/regset.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/regset.h b/gdb/regset.h
index 48ad32d..00483c7 100644
--- a/gdb/regset.h
+++ b/gdb/regset.h
@@ -37,13 +37,16 @@ struct regset
{
/* Data pointer for private use by the methods below, presumably
providing some sort of description of the register set. */
- struct gdbarch *arch;
+ const void *descr;
/* Function supplying values in a register set to a register cache. */
supply_regset_ftype *supply_regset;
/* Function collecting values in a register set from a register cache. */
collect_regset_ftype *collect_regset;
+
+ /* Architecture associated with the register set. */
+ struct gdbarch *arch;
};
/* Allocate a fresh 'struct regset' whose supply_regset function is