Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] configure.tgt (x86_64-*-elf*): Remove i386bsd-tdep.o.
@ 2016-11-02 23:43 Doug Evans
  2016-11-02 23:56 ` Joel Sherrill
  0 siblings, 1 reply; 3+ messages in thread
From: Doug Evans @ 2016-11-02 23:43 UTC (permalink / raw)
  To: gdb-patches; +Cc: joel.sherrill

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 \


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-07 21:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-02 23:43 [PATCH] configure.tgt (x86_64-*-elf*): Remove i386bsd-tdep.o Doug Evans
2016-11-02 23:56 ` Joel Sherrill
2016-11-07 21:18   ` Doug Evans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox