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] Get rid of i386-specific U_FPSTATE macro


This gets rid of the U_FPSTATE macro which isn't used anymore.  It
also munges the configuration such that we can get rid of two more
config files.

Committed.

Mark

Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
	Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
	they're identical to i[3456]86-*-sysv* now.
	* config/i386/i386v32.mh: Removed.
	* config/i386/xm-i386v32.h: Removed.
	* config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.

Index: configure.host
===================================================================
RCS file: /cvs/src/src/gdb/configure.host,v
retrieving revision 1.46
diff -u -p -r1.46 configure.host
--- configure.host 1 Feb 2003 11:45:13 -0000 1.46
+++ configure.host 1 Feb 2003 12:26:58 -0000
@@ -69,15 +69,13 @@ i[3456]86-*-sco3.2v5*)	gdb_host=i386sco5
 i[3456]86-*-sco3.2v4*)	gdb_host=i386sco4 ;;
 i[3456]86-*-sco*)	gdb_host=i386sco ;;
 i[3456]86-*-solaris*)	gdb_host=i386sol2 ;;
-i[3456]86-*-sysv3.2*)	gdb_host=i386v32 ;;
-i[3456]86-*-sysv32*)	gdb_host=i386v32 ;;
 i[3456]86-*-sysv4.2*)	gdb_host=i386v42mp ;;
 i[3456]86-*-sysv4*)	gdb_host=i386v4 ;;
 i[3456]86-*-sysv5*)	gdb_host=i386v42mp ;;
 i[3456]86-*-unixware2*)	gdb_host=i386v42mp ;;
 i[3456]86-*-unixware*)	gdb_host=i386v4 ;;
 i[3456]86-*-sysv*)	gdb_host=i386v ;;
-i[3456]86-*-isc*)	gdb_host=i386v32 ;;
+i[3456]86-*-isc*)	gdb_host=i386v ;;
 i[3456]86-*-cygwin*)	gdb_host=cygwin ;;
 
 ia64-*-aix*)		gdb_host=aix ;;
Index: config/i386/i386v32.mh
===================================================================
RCS file: config/i386/i386v32.mh
diff -N config/i386/i386v32.mh
--- config/i386/i386v32.mh 18 Jan 2002 04:50:59 -0000 1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,8 +0,0 @@
-# Host: Intel 386 running System V release 3.2
-
-XM_FILE= xm-i386v32.h
-XM_CLIBS= -lPW
-
-NAT_FILE= nm-i386v.h
-NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o i386v-nat.o
-
Index: config/i386/xm-i386v32.h
===================================================================
RCS file: config/i386/xm-i386v32.h
diff -N config/i386/xm-i386v32.h
--- config/i386/xm-i386v32.h 7 Jul 1999 20:13:39 -0000 1.1.1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,25 +0,0 @@
-/* Macro defintions for i386, running System V 3.2.
-   Copyright (C) 1989 Free Software Foundation, Inc.
-
-   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 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.  */
-
-#include "i386/xm-i386v.h"
-
-/* Apparently there is inconsistency among various System V's about what
-   the name of this field is.  */
-#define U_FPSTATE(u) u.u_fps.u_fpstate
Index: config/i386/xm-i386sco.h
===================================================================
RCS file: /cvs/src/src/gdb/config/i386/xm-i386sco.h,v
retrieving revision 1.4
diff -u -p -r1.4 xm-i386sco.h
--- config/i386/xm-i386sco.h 11 Oct 2002 14:02:39 -0000 1.4
+++ config/i386/xm-i386sco.h 1 Feb 2003 12:26:58 -0000
@@ -24,10 +24,6 @@
 
 #include "i386/xm-i386v.h"
 
-/* Apparently there is inconsistency among various System V's about what
-   the name of this field is.  */
-#define U_FPSTATE(u) u.u_fps.u_fpstate
-
 /* SCO 3.2v2 and later have job control.  */
 /* SCO 3.2v4 I know has termios; I'm not sure about earlier versions.
    GDB does not currently support the termio/job control combination.  */


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