aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-09-02 17:24:51 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-09-02 17:24:51 +0000
commit704a27c4616b5d38e28bf4659a16c421bb8b4b2c (patch)
tree4655632ddaa1a17d5ddde735b877e35ef44f53d8 /gdb
parent67010b4679cde27a16ba60f1ff8ec1d502a6d681 (diff)
downloadgdb-704a27c4616b5d38e28bf4659a16c421bb8b4b2c.zip
gdb-704a27c4616b5d38e28bf4659a16c421bb8b4b2c.tar.gz
gdb-704a27c4616b5d38e28bf4659a16c421bb8b4b2c.tar.bz2
* configure.tgt (i[3456]86-*-netbsdelf*): Merge with...
(i[3456]86-*-netbsd*): ...this. Set gdb_target to nbsd. (i[3456]86-*-openbsd*): Make this a separate entry. Add a comment noting that this needs its own target configuration. * config/i386/nbsd.mt: New file. * config/i386/nbsdaout.mt: Remove. * config/i386/nbsdelf.mt: Ditto. * config/i386/tm-nbsdaout.h: Ditto.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog11
-rw-r--r--gdb/config/i386/nbsd.mt (renamed from gdb/config/i386/nbsdelf.mt)0
-rw-r--r--gdb/config/i386/nbsdaout.mt4
-rw-r--r--gdb/config/i386/tm-nbsdaout.h26
-rw-r--r--gdb/configure.tgt5
5 files changed, 13 insertions, 33 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c3ab7b0..8a78b1d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,16 @@
2002-09-02 Jason Thorpe <thorpej@wasabisystems.com>
+ * configure.tgt (i[3456]86-*-netbsdelf*): Merge with...
+ (i[3456]86-*-netbsd*): ...this. Set gdb_target to nbsd.
+ (i[3456]86-*-openbsd*): Make this a separate entry. Add a
+ comment noting that this needs its own target configuration.
+ * config/i386/nbsd.mt: New file.
+ * config/i386/nbsdaout.mt: Remove.
+ * config/i386/nbsdelf.mt: Ditto.
+ * config/i386/tm-nbsdaout.h: Ditto.
+
+2002-09-02 Jason Thorpe <thorpej@wasabisystems.com>
+
* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): New function.
(i386nbsd_pc_in_sigtramp): Rewrite to use i386nbsd_sigtramp_offset.
(i386nbsd_init_abi): Don't initialize tdep->sigtramp_start or
diff --git a/gdb/config/i386/nbsdelf.mt b/gdb/config/i386/nbsd.mt
index a1035cf..a1035cf 100644
--- a/gdb/config/i386/nbsdelf.mt
+++ b/gdb/config/i386/nbsd.mt
diff --git a/gdb/config/i386/nbsdaout.mt b/gdb/config/i386/nbsdaout.mt
deleted file mode 100644
index 7ffb502..0000000
--- a/gdb/config/i386/nbsdaout.mt
+++ /dev/null
@@ -1,4 +0,0 @@
-# Target: Intel 386 running NetBSD
-TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o corelow.o \
- nbsd-tdep.o
-TM_FILE= tm-nbsdaout.h
diff --git a/gdb/config/i386/tm-nbsdaout.h b/gdb/config/i386/tm-nbsdaout.h
deleted file mode 100644
index 25325e1..0000000
--- a/gdb/config/i386/tm-nbsdaout.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/* Macro definitions for i386 running under NetBSD.
- Copyright 2000, 2002 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_NBSDAOUT_H
-#define TM_NBSDAOUT_H
-
-#include "i386/tm-nbsd.h"
-
-#endif /* TM_NBSDAOUT_H */
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 385dbd0..896fbb1 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -92,9 +92,8 @@ i[3456]86-ncr-*) gdb_target=ncr3000 ;;
# OBSOLETE i[3456]86-*-aix*) gdb_target=i386aix ;;
i[3456]86-*-bsd*) gdb_target=i386bsd ;;
i[3456]86-*-freebsd*) gdb_target=fbsd ;;
-i[3456]86-*-netbsdelf*) gdb_target=nbsdelf ;;
-i[3456]86-*-netbsd* | i[3456]86-*-openbsd*)
- gdb_target=nbsdaout ;;
+i[3456]86-*-netbsd*) gdb_target=nbsd ;;
+i[3456]86-*-openbsd*) gdb_target=nbsd ;; # FIXME: needs its own target
# OBSOLETE i[3456]86-*-os9k) gdb_target=i386os9k ;;
i[3456]86-*-go32*) gdb_target=i386aout ;;
i[3456]86-*-msdosdjgpp*) gdb_target=go32 ;;