From 0a415da9b78a2d0074ba0a193b196f1f600e95a8 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 30 May 2000 00:03:57 +0000 Subject: [PATCH] Move/rename GDB_GREGSET_T definitions for solaris 2. --- gdb/ChangeLog | 7 +++++++ gdb/config/sparc/nm-sun4sol2.h | 7 +++++++ gdb/config/sparc/xm-sun4sol2.h | 7 ------- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 112129bf922..ed98823566e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +Mon May 29 22:47:16 2000 Andrew Cagney + + * config/sparc/nm-sun4sol2.h (GDB_GREGSET_T, GDB_FPREGSET_T): + Define. + * config/sparc/xm-sun4sol2.h: (GDB_GREGSET_TYPE, + GDB_FPREGSET_TYPE): Delete. + Mon May 29 15:41:10 2000 Andrew Cagney * symtab.h (make_cleanup_free_search_symbols): Add declaration. diff --git a/gdb/config/sparc/nm-sun4sol2.h b/gdb/config/sparc/nm-sun4sol2.h index 4a247103fa1..2107075ea32 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 01218fd2d23..3edb5abdf54 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 -- 2.30.2