From 368702b1fe81dbafff146a7d59717c680826a16b Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 23 May 2004 22:42:59 +0000 Subject: * regset.h (struct regset): Add back `regset' member. --- gdb/ChangeLog | 4 ++++ gdb/regset.h | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2ad368e..a38ca8f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2004-05-24 Mark Kettenis + + * regset.h (struct regset): Add back `regset' member. + 2004-05-23 Mark Kettenis * configure.in: Check for td_pcb in `struct thread'. 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 -- cgit v1.1