aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2002-08-18 22:14:24 +0000
committerMark Kettenis <kettenis@gnu.org>2002-08-18 22:14:24 +0000
commit641eda39404ac8b1c29805db00562e6cf73dfab1 (patch)
tree4fcd65b03d7ccdf5bf0a688f22421c5dd586c40b /gdb/config/i386
parentd4e0bab44f5ebceb27ba9c277eb464ab51f5894c (diff)
downloadgdb-641eda39404ac8b1c29805db00562e6cf73dfab1.zip
gdb-641eda39404ac8b1c29805db00562e6cf73dfab1.tar.gz
gdb-641eda39404ac8b1c29805db00562e6cf73dfab1.tar.bz2
* config/i386/i386aout.mt (TDEPFILES): Add i387-tdep.o
(TM_FILE): Set to tm-i386.h. * config/i386/i386v.mt (TM_FILE): Set to tm-i386.h. * config/i386/tm-i386v.h: Remove file. * config/i386/tm-ptx.h [!SEQUENT_PTX4]: Include "i386/tm-i386.h" instead of "i386/tm-i386v.h". (START_INFERIOR_TRAPS_EXPECTED): Remove define. * config/i386/tm-symmetry: Include "i386/tm-i386.h" instead of "i386/tm-i386v.h". (START_INFERIOR_TRAPS_EXPECTED): Remove define. * config/i386/tm-vxworks.h: Include "i386/tm-i386.h" instead of "i386/tm-i386.h".
Diffstat (limited to 'gdb/config/i386')
-rw-r--r--gdb/config/i386/i386aout.mt4
-rw-r--r--gdb/config/i386/i386v.mt2
-rw-r--r--gdb/config/i386/tm-i386v.h36
-rw-r--r--gdb/config/i386/tm-ptx.h10
-rw-r--r--gdb/config/i386/tm-symmetry.h5
-rw-r--r--gdb/config/i386/tm-vxworks.h2
6 files changed, 6 insertions, 53 deletions
diff --git a/gdb/config/i386/i386aout.mt b/gdb/config/i386/i386aout.mt
index 1c94ba5..2a33369 100644
--- a/gdb/config/i386/i386aout.mt
+++ b/gdb/config/i386/i386aout.mt
@@ -1,3 +1,3 @@
# Target: Intel 386 with a.out
-TDEPFILES= i386-tdep.o
-TM_FILE= tm-i386v.h
+TDEPFILES= i386-tdep.o i387-tdep.o
+TM_FILE= tm-i386.h
diff --git a/gdb/config/i386/i386v.mt b/gdb/config/i386/i386v.mt
index 7242d3e..1ee5305 100644
--- a/gdb/config/i386/i386v.mt
+++ b/gdb/config/i386/i386v.mt
@@ -1,3 +1,3 @@
# Target: Intel 386 running System V
TDEPFILES= i386-tdep.o i387-tdep.o
-TM_FILE= tm-i386v.h
+TM_FILE= tm-i386.h
diff --git a/gdb/config/i386/tm-i386v.h b/gdb/config/i386/tm-i386v.h
deleted file mode 100644
index d524652..0000000
--- a/gdb/config/i386/tm-i386v.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/* Macro definitions for i386, Unix System V.
- Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1998, 1999,
- 2000, 2001 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. */
-
-#ifndef TM_I386V_H
-#define TM_I386V_H 1
-
-/* First pick up the generic *86 target file. */
-
-#include "i386/tm-i386.h"
-
-/* Number of traps that happen between exec'ing the shell to run an
- inferior, and when we finally get to the inferior code. This is
- 2 on most implementations. Override here to 4. */
-
-#undef START_INFERIOR_TRAPS_EXPECTED
-#define START_INFERIOR_TRAPS_EXPECTED 4
-
-#endif /* ifndef TM_I386V_H */
diff --git a/gdb/config/i386/tm-ptx.h b/gdb/config/i386/tm-ptx.h
index 0f7dcab..8d773c8 100644
--- a/gdb/config/i386/tm-ptx.h
+++ b/gdb/config/i386/tm-ptx.h
@@ -32,17 +32,9 @@
#ifdef SEQUENT_PTX4
#include "i386/tm-i386v4.h"
#else /* !SEQUENT_PTX4 */
-#include "i386/tm-i386v.h"
+#include "i386/tm-i386.h"
#endif
-/* Number of traps that happen between exec'ing the shell to run an
- inferior, and when we finally get to the inferior code. This is 2
- on most implementations. Here we have to undo what tm-i386v.h gave
- us and restore the default. */
-
-#undef START_INFERIOR_TRAPS_EXPECTED
-#define START_INFERIOR_TRAPS_EXPECTED 2
-
/* Amount PC must be decremented by after a breakpoint. This is often the
number of bytes in BREAKPOINT but not always (such as now). */
diff --git a/gdb/config/i386/tm-symmetry.h b/gdb/config/i386/tm-symmetry.h
index 331006a..dc7c81f 100644
--- a/gdb/config/i386/tm-symmetry.h
+++ b/gdb/config/i386/tm-symmetry.h
@@ -31,10 +31,7 @@
a copy of the right include file. */
#include <machine/reg.h>
-#include "i386/tm-i386v.h"
-
-#undef START_INFERIOR_TRAPS_EXPECTED
-#define START_INFERIOR_TRAPS_EXPECTED 2
+#include "i386/tm-i386.h"
/* Amount PC must be decremented by after a breakpoint. This is often the
number of bytes in BREAKPOINT but not always (such as now). */
diff --git a/gdb/config/i386/tm-vxworks.h b/gdb/config/i386/tm-vxworks.h
index ffaea49..f9b6be4 100644
--- a/gdb/config/i386/tm-vxworks.h
+++ b/gdb/config/i386/tm-vxworks.h
@@ -22,7 +22,7 @@
#ifndef TM_VXWORKS_H
#define TM_VXWORKS_H
-#include "i386/tm-i386v.h"
+#include "i386/tm-i386.h"
#include "config/tm-vxworks.h"
#endif /* ifndef TM_VXWORKS_H */