This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]