[PATCH] gdb: ppc: drop unnecessary sim file check [committed]
Mike Frysinger
vapier@gentoo.org
Sat Jan 2 08:41:00 GMT 2016
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 --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*)
--
2.6.2
More information about the Gdb-patches
mailing list