Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Doug Evans <dje@google.com>
To: gdb-patches@sourceware.org
Cc: joel.sherrill@oarcorp.com
Subject: [PATCH] configure.tgt (x86_64-*-elf*): Remove i386bsd-tdep.o.
Date: Wed, 02 Nov 2016 23:43:00 -0000	[thread overview]
Message-ID: <94eb2c039f6ec8c1af05405a01fa@google.com> (raw)

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 <joel.sherrill@oarcorp.com>
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  <dje@google.com>

	* 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 \


             reply	other threads:[~2016-11-02 23:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-02 23:43 Doug Evans [this message]
2016-11-02 23:56 ` Joel Sherrill
2016-11-07 21:18   ` Doug Evans

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=94eb2c039f6ec8c1af05405a01fa@google.com \
    --to=dje@google.com \
    --cc=gdb-patches@sourceware.org \
    --cc=joel.sherrill@oarcorp.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