From: Jason R Thorpe <thorpej@wasabisystems.com>
To: gdb-patches@sources.redhat.com
Subject: [PATCH] i386-netbsd* configury cleanup
Date: Mon, 02 Sep 2002 10:24:00 -0000 [thread overview]
Message-ID: <20020902102434.H4034@dr-evil.shagadelic.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
The i386-netbsd and i386-netbsdelf targets are now equivalent, as far
as configury is concerned. The following merges them.
BTW, someone is going to have to step up and fix the i386-openbsd*
target, since the NetBSD code no longer really works for it (and this
is likely to be even more true in the not-distant future, when all of
the NetBSD thread code gets merged in to GDB).
Committed to trunk:
* 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.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
[-- Attachment #2: i386nbsd-cfg-patch --]
[-- Type: text/plain, Size: 3798 bytes --]
Index: configure.tgt
===================================================================
RCS file: /cvs/src/src/gdb/configure.tgt,v
retrieving revision 1.84
diff -c -r1.84 configure.tgt
*** configure.tgt 22 Aug 2002 21:52:44 -0000 1.84
--- configure.tgt 2 Sep 2002 16:44:13 -0000
***************
*** 92,100 ****
# 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 ;;
# OBSOLETE i[3456]86-*-os9k) gdb_target=i386os9k ;;
i[3456]86-*-go32*) gdb_target=i386aout ;;
i[3456]86-*-msdosdjgpp*) gdb_target=go32 ;;
--- 95,102 ----
# 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-*-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 ;;
Index: config/i386/nbsd.mt
===================================================================
RCS file: config/i386/nbsd.mt
diff -N config/i386/nbsd.mt
*** /dev/null 1 Jan 1970 00:00:00 -0000
--- config/i386/nbsd.mt 2 Sep 2002 16:44:17 -0000
***************
*** 0 ****
--- 1,4 ----
+ # 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-nbsd.h
Index: config/i386/nbsdaout.mt
===================================================================
RCS file: config/i386/nbsdaout.mt
diff -N config/i386/nbsdaout.mt
*** config/i386/nbsdaout.mt 1 Sep 2002 23:24:19 -0000 1.2
--- /dev/null 1 Jan 1970 00:00:00 -0000
***************
*** 1,4 ****
- # 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
--- 0 ----
Index: config/i386/nbsdelf.mt
===================================================================
RCS file: config/i386/nbsdelf.mt
diff -N config/i386/nbsdelf.mt
*** config/i386/nbsdelf.mt 1 Sep 2002 23:24:19 -0000 1.10
--- /dev/null 1 Jan 1970 00:00:00 -0000
***************
*** 1,4 ****
- # 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-nbsd.h
--- 0 ----
Index: config/i386/tm-nbsdaout.h
===================================================================
RCS file: config/i386/tm-nbsdaout.h
diff -N config/i386/tm-nbsdaout.h
*** config/i386/tm-nbsdaout.h 30 Jun 2002 14:43:24 -0000 1.3
--- /dev/null 1 Jan 1970 00:00:00 -0000
***************
*** 1,26 ****
- /* 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 */
--- 0 ----
next reply other threads:[~2002-09-02 17:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-02 10:24 Jason R Thorpe [this message]
2002-09-02 14:44 ` Mark Kettenis
2002-09-02 15:31 ` Jason R Thorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020902102434.H4034@dr-evil.shagadelic.org \
--to=thorpej@wasabisystems.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox