aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>2000-06-02 23:15:28 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>2000-06-02 23:15:28 +0000
commitb0cb5b8de293ee709fe09973b1c792ab7155816e (patch)
tree7cb9619e7b614b522d1d6cd839ddbb4255fc0b1b /gdb/config
parent66c9e0f2b87917011d9a37c0ee63585fb728e2ef (diff)
downloadgdb-b0cb5b8de293ee709fe09973b1c792ab7155816e.zip
gdb-b0cb5b8de293ee709fe09973b1c792ab7155816e.tar.gz
gdb-b0cb5b8de293ee709fe09973b1c792ab7155816e.tar.bz2
* configure.tgt: Add pattern for i[3456]86-*-netbsdelf*.
* config/i386/nbsdelf.mt: New file. * config/i386/tm-nbsdelf.h: New file. * config/i386/tm-nbsd.h: change include of tm-nbsd.h to the more explicit config/tm-nbsd.h.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/i386/nbsdelf.mt5
-rw-r--r--gdb/config/i386/tm-nbsd.h4
-rw-r--r--gdb/config/i386/tm-nbsdelf.h28
3 files changed, 35 insertions, 2 deletions
diff --git a/gdb/config/i386/nbsdelf.mt b/gdb/config/i386/nbsdelf.mt
new file mode 100644
index 0000000..2782173
--- /dev/null
+++ b/gdb/config/i386/nbsdelf.mt
@@ -0,0 +1,5 @@
+# Target: Intel 386 running NetBSD
+TDEPFILES= i386-tdep.o i387-tdep.o
+TM_FILE= tm-nbsdelf.h
+
+GDBSERVER_DEPFILES= low-nbsd.o
diff --git a/gdb/config/i386/tm-nbsd.h b/gdb/config/i386/tm-nbsd.h
index dbe1f79..a24ac0d 100644
--- a/gdb/config/i386/tm-nbsd.h
+++ b/gdb/config/i386/tm-nbsd.h
@@ -1,5 +1,5 @@
/* Macro definitions for i386 running under NetBSD.
- Copyright 1994 Free Software Foundation, Inc.
+ Copyright 1994, 2000 Free Software Foundation, Inc.
This file is part of GDB.
@@ -24,7 +24,7 @@
#define HAVE_I387_REGS
#include "i386/tm-i386.h"
-#include "tm-nbsd.h"
+#include "config/tm-nbsd.h"
extern use_struct_convention_fn i386nbsd_use_struct_convention;
#define USE_STRUCT_CONVENTION(gcc_p, type) \
diff --git a/gdb/config/i386/tm-nbsdelf.h b/gdb/config/i386/tm-nbsdelf.h
new file mode 100644
index 0000000..4d802c5
--- /dev/null
+++ b/gdb/config/i386/tm-nbsdelf.h
@@ -0,0 +1,28 @@
+/* Macro definitions for i386 running under NetBSD.
+ Copyright 2000 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_NBSDELF_H
+#define TM_NBSDELF_H
+
+#include "i386/tm-nbsd.h"
+
+#undef USE_STRUCT_CONVENTION
+
+#endif /* TM_NBSD_H */