From patchwork Wed Nov 2 23:43:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 17135 Received: (qmail 104134 invoked by alias); 2 Nov 2016 23:43:36 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 104101 invoked by uid 89); 2 Nov 2016 23:43:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=apr, possibility, sake, H*MI:google X-HELO: mail-pa0-f74.google.com Received: from mail-pa0-f74.google.com (HELO mail-pa0-f74.google.com) (209.85.220.74) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 02 Nov 2016 23:43:26 +0000 Received: by mail-pa0-f74.google.com with SMTP id gx4so1271074pac.0 for ; Wed, 02 Nov 2016 16:43:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:message-id:date:subject:from:to:cc; bh=NGA85y1Mc9T8bs/tzD4MumxEB5vlgRD2zKGa20lBEps=; b=PYC1KJzRbMK7DwYu9kj/c/ZB++OStRIBmVVgOL9BpUw5lJyQ5OgyvNmsG3WKp3KsX+ Yz5J01NXVD9n8DcMScXbas2DFWqrz9aAp0qgrsuRylNUvJ9jp5PFNHhFgkU+t3+aPvtS NbZF3pjQI5o8n2gV5KVRn+A2Q7oOM4LegWQdVts8g/5SLUd+kpjpnM17hndkUwxsSaLA k9klyqesCVzEeHCROZWRMK7XS4wAP36qTovjSZ7ZFLX66agJqTbUYBsf3Y0v0oX7bokI 47zFdUalMDcK58vS9IhbofMHxbGeCtX4bMMiMX5zSSQSxUix4Je7q9+ucUwuIbpg+PiZ RtrQ== X-Gm-Message-State: ABUngvf4oYC/oroORlYXPUEWUwmAfiAhM4uaksQnhyu/jexuwFwWBoWtrJBVnSb71cOZtuuaLZB+lUSfOep3jvQEfiyhM8IYAsimsgmedl8veRuEDX7vsGtczP7Xu5D7frqCrk5CNEwfcl8wrX/dv6lZppOIXY/1NFzGzi7aaloROhIcMLbXSw== MIME-Version: 1.0 X-Received: by 10.98.91.133 with SMTP id p127mr1758266pfb.38.1478130204705; Wed, 02 Nov 2016 16:43:24 -0700 (PDT) Message-ID: <94eb2c039f6ec8c1af05405a01fa@google.com> Date: Wed, 02 Nov 2016 23:43:24 +0000 Subject: [PATCH] configure.tgt (x86_64-*-elf*): Remove i386bsd-tdep.o. From: Doug Evans To: gdb-patches@sourceware.org Cc: joel.sherrill@oarcorp.com X-IsSubscribed: yes 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 \