From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22331 invoked by alias); 2 Sep 2002 17:24:35 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 22318 invoked from network); 2 Sep 2002 17:24:34 -0000 Received: from unknown (HELO dr-evil.shagadelic.org) (208.176.2.174) by sources.redhat.com with SMTP; 2 Sep 2002 17:24:34 -0000 Received: by dr-evil.shagadelic.org (Postfix, from userid 7518) id A6C0B9869; Mon, 2 Sep 2002 10:24:34 -0700 (PDT) Date: Mon, 02 Sep 2002 10:24:00 -0000 From: Jason R Thorpe To: gdb-patches@sources.redhat.com Subject: [PATCH] i386-netbsd* configury cleanup Message-ID: <20020902102434.H4034@dr-evil.shagadelic.org> Mail-Followup-To: Jason R Thorpe , gdb-patches@sources.redhat.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="5vjQsMS/9MbKYGLq" Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: Wasabi Systems, Inc. X-SW-Source: 2002-09/txt/msg00018.txt.bz2 --5vjQsMS/9MbKYGLq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 840 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 --5vjQsMS/9MbKYGLq Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=i386nbsd-cfg-patch Content-length: 3798 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 ---- --5vjQsMS/9MbKYGLq--