diff mbox

gdb: ppc: drop unnecessary sim file check [committed]

Message ID 1451724054-22516-1-git-send-email-vapier@gentoo.org
State Committed
Headers show

Commit Message

Mike Frysinger Jan. 2, 2016, 8:40 a.m. UTC
We don't do this for other ppc targets in this file (we assume the sim
subdir exists), and it has existed for over a decade at this point.
---
 gdb/ChangeLog     | 5 +++++
 gdb/configure.tgt | 4 +---
 2 files changed, 6 insertions(+), 3 deletions(-)
diff mbox

Patch

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7aae8a8..46d7fd7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@ 
+2016-01-02  Mike Frysinger  <vapier@gentoo.org>
+
+	* configure.tgt (powerpc*-*-*): Delete test call and
+	always assign gdb_sim.
+
 2016-01-01  Joel Brobecker  <brobecker@adacore.com>
 
 	Update year range in copyright notice of all files.
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 6e50dd2..a746659 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -452,9 +452,7 @@  powerpc*-*-*)
 	# Target: PowerPC running eabi
 	gdb_target_obs="rs6000-tdep.o ppc-sysv-tdep.o solib-svr4.o \
 			ravenscar-thread.o ppc-ravenscar-thread.o"
-	if test -f ../sim/ppc/Makefile; then
-	  gdb_sim=../sim/ppc/libsim.a
-	fi
+	gdb_sim=../sim/ppc/libsim.a
 	;;
 
 s390*-*-linux*)