From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 54839 invoked by alias); 2 Nov 2016 23:56:41 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 54829 invoked by uid 89); 2 Nov 2016 23:56:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=CDT, cdt X-HELO: OARmail.OARCORP.com Received: from oarmail.oarcorp.com (HELO OARmail.OARCORP.com) (67.63.146.244) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 Nov 2016 23:56:31 +0000 Received: from [IPv6:2607:fb90:5910:1810:f831:f68:4266:693] (172.58.144.55) by OARmail.OARCORP.com (192.168.2.2) with Microsoft SMTP Server (TLS) id 8.3.389.2; Wed, 2 Nov 2016 18:56:22 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <94eb2c039f6ec8c1af05405a01fa@google.com> References: <94eb2c039f6ec8c1af05405a01fa@google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Subject: Re: [PATCH] configure.tgt (x86_64-*-elf*): Remove i386bsd-tdep.o. From: Joel Sherrill Date: Wed, 02 Nov 2016 23:56:00 -0000 To: Doug Evans ,"gdb-patches@sourceware.org" Message-ID: <87296F42-C36A-408C-827E-BD00C03A8744@oarcorp.com> X-SW-Source: 2016-11/txt/msg00025.txt.bz2 Please fix it as you see fit. You probably remember that all RTEMS targets for gdb and binutils are the same as the elf ones. No intention of adding an OS dependency. --joel On November 2, 2016 6:43:24 PM CDT, Doug Evans wrote: >Hi. > >This is just a cleanup. >I suppose there's the possibility of someone using x86_64-elf with bsd >but anything-elf is not supposed to have os-specific stuff like this. > >Any objections? > >For reference sake, it was added here. >I have no opinion on what to do for rtems so I kept things as is there. >Maybe when this was added it was just easier to lot x86_64-rtems >together >with x86_64-elf? >I couldn't find an email thread, but just likely missed it. > >commit f73dbb0e48ef50d2743fed89b68530b731329f05 >Author: Joel Sherrill >Date: Fri Apr 3 19:08:27 2015 -0500 > > Add x86_64-*-rtems* target > > ld/configure.tgt: Also add stanza for x86_64-*-elf. > >--- > >2016-11-02 Doug Evans > > * configure.tgt (x86_64-*-elf*): Remove i386bsd-tdep.o. > >diff --git a/gdb/configure.tgt b/gdb/configure.tgt >index d428dff..79473c9 100644 >--- a/gdb/configure.tgt >+++ b/gdb/configure.tgt >@@ -666,9 +666,9 @@ x86_64-*-dicos*) > gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o \ > dicos-tdep.o i386-dicos-tdep.o amd64-dicos-tdep.o" > ;; >-x86_64-*-elf* | x86_64-*-rtems*) >- gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o i386bsd-tdep.o" >- ;; >+x86_64-*-elf*) >+ gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o" >+ ;; > x86_64-*-linux*) > # Target: GNU/Linux x86-64 > gdb_target_obs="amd64-tdep.o amd64-linux-tdep.o i386-tdep.o \ >@@ -700,6 +700,9 @@ x86_64-*-openbsd*) > i387-tdep.o i386bsd-tdep.o i386obsd-tdep.o \ > obsd-tdep.o bsd-uthread.o solib-svr4.o" > ;; >+x86_64-*-rtems*) >+ gdb_target_obs="amd64-tdep.o i386-tdep.o i387-tdep.o i386bsd-tdep.o" >+ ;; > xtensa*-*-linux*) gdb_target=linux > # Target: GNU/Linux Xtensa > gdb_target_obs="xtensa-tdep.o xtensa-config.o xtensa-linux-tdep.o \ --joel