From 0a415da9b78a2d0074ba0a193b196f1f600e95a8 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 30 May 2000 00:03:57 +0000 Subject: Move/rename GDB_GREGSET_T definitions for solaris 2. --- gdb/config/sparc/nm-sun4sol2.h | 7 +++++++ gdb/config/sparc/xm-sun4sol2.h | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'gdb/config') diff --git a/gdb/config/sparc/nm-sun4sol2.h b/gdb/config/sparc/nm-sun4sol2.h index 4a24710..2107075 100644 --- a/gdb/config/sparc/nm-sun4sol2.h +++ b/gdb/config/sparc/nm-sun4sol2.h @@ -30,6 +30,13 @@ #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 diff --git a/gdb/config/sparc/xm-sun4sol2.h b/gdb/config/sparc/xm-sun4sol2.h index 01218fd..3edb5ab 100644 --- a/gdb/config/sparc/xm-sun4sol2.h +++ b/gdb/config/sparc/xm-sun4sol2.h @@ -26,13 +26,6 @@ #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 -- cgit v1.1