This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix regset-related breakage
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Mon, 24 May 2004 00:43:03 +0200 (CEST)
- Subject: [PATCH] Fix regset-related breakage
Sorry folks, I broke powerpc and s390. This patch at least makes
things work again. Thanks to Joel for pointing this out.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* regset.h (struct regset): Add back `regset' member.
Index: regset.h
===================================================================
RCS file: /cvs/src/src/gdb/regset.h,v
retrieving revision 1.5
diff -u -p -r1.5 regset.h
--- regset.h 22 May 2004 15:16:22 -0000 1.5
+++ regset.h 23 May 2004 22:38:54 -0000
@@ -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