This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] gdb: ppc: drop unnecessary sim file check


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=32273fe68f3d1288b2eef6b96beda3732d0ac25e

commit 32273fe68f3d1288b2eef6b96beda3732d0ac25e
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Sat Jan 2 03:10:57 2016 -0500

    gdb: ppc: drop unnecessary sim file check
    
    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.

Diff:
---
 gdb/ChangeLog     | 5 +++++
 gdb/configure.tgt | 4 +---
 2 files changed, 6 insertions(+), 3 deletions(-)

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]