OSDN Git Service

Move/rename GDB_GREGSET_T definitions for solaris 2.
authorcagney <cagney>
Tue, 30 May 2000 00:03:56 +0000 (00:03 +0000)
committercagney <cagney>
Tue, 30 May 2000 00:03:56 +0000 (00:03 +0000)
gdb/ChangeLog
gdb/config/sparc/nm-sun4sol2.h
gdb/config/sparc/xm-sun4sol2.h

index 112129b..ed98823 100644 (file)
@@ -1,3 +1,10 @@
+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.
+
 Mon May 29 15:41:10 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * symtab.h (make_cleanup_free_search_symbols): Add declaration.
index 4a24710..2107075 100644 (file)
 
 #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 bc49ce4..3edb5ab 100644 (file)
@@ -1,21 +1,22 @@
 /* Macro definitions for running gdb on a Sun 4 running Solaris 2.
    Copyright 1989, 1992 Free Software Foundation, Inc.
 
-This file is part of GDB.
+   This file is part of GDB.
 
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
 
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
 
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place - Suite 330,
+   Boston, MA 02111-1307, USA.  */
 
 /* Most of what we know is generic to SPARC hosts.  */
 
@@ -25,13 +26,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #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