This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
[rfa] GDB_GRETSET_TYPE -> GDB_GREGSET_T for solaris 2.5.1
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [rfa] GDB_GRETSET_TYPE -> GDB_GREGSET_T for solaris 2.5.1
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 29 May 2000 22:54:34 +1000
- Organization: Cygnus Solutions
The attatched ok? I couldn't build on Solaris 2.5.1.
Andrew
Mon May 29 22:47:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
* config/sparc/nm-sun4sol2.h (GDB_GREGSET_T, GDB_FPREGSET_T):
Define.
* config/sparc/xm-sun4sol2.h: (GDB_GREGSET_TYPE,
GDB_FPREGSET_TYPE): Delete.
Index: config/sparc/nm-sun4sol2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/nm-sun4sol2.h,v
retrieving revision 1.3
diff -p -r1.3 nm-sun4sol2.h
*** nm-sun4sol2.h 2000/05/28 01:12:41 1.3
--- nm-sun4sol2.h 2000/05/29 12:51:07
***************
*** 30,35 ****
--- 30,42 ----
#define PRSVADDR_BROKEN
+ /* gdb wants to use the prgregset_t interface rather than
+ the gregset_t interface, partly because that's what's
+ used in core-sol2.c */
+
+ #define GDB_GREGSET_T prgregset_t
+ #define GDB_FPREGSET_T prfpregset_t
+
#ifdef NEW_PROC_API /* Solaris 6 and above can do HW watchpoints */
#define TARGET_HAS_HARDWARE_WATCHPOINTS
Index: config/sparc/xm-sun4sol2.h
===================================================================
RCS file: /cvs/src/src/gdb/config/sparc/xm-sun4sol2.h,v
retrieving revision 1.1.1.2
diff -p -r1.1.1.2 xm-sun4sol2.h
*** xm-sun4sol2.h 1999/07/07 20:17:24 1.1.1.2
--- xm-sun4sol2.h 2000/05/29 12:51:07
***************
*** 26,38 ****
#include "xm-sysv4.h"
- /* gdb wants to use the prgregset_t interface rather than
- the gregset_t interface, partly because that's what's
- used in core-sol2.c */
-
- #define GDB_GREGSET_TYPE prgregset_t
- #define GDB_FPREGSET_TYPE prfpregset_t
-
/* These are not currently used in SVR4 (but should be, FIXME!). */
#undef DO_DEFERRED_STORES
#undef CLEAR_DEFERRED_STORES
--- 26,31 ----