aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.tgt
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1997-03-21 20:56:10 +0000
committerMichael Meissner <gnu@the-meissners.org>1997-03-21 20:56:10 +0000
commit23e92f3fbdeea2cd4c21017c74228aa0b2384156 (patch)
treeef8a0d98e1d80eb761d48680fc824cacf7112273 /gdb/configure.tgt
parentff22a9dbf86f4d7d15fa7aa2dd3786010edc1d9d (diff)
downloadgdb-23e92f3fbdeea2cd4c21017c74228aa0b2384156.zip
gdb-23e92f3fbdeea2cd4c21017c74228aa0b2384156.tar.gz
gdb-23e92f3fbdeea2cd4c21017c74228aa0b2384156.tar.bz2
Make powerpc simulator support in gdb dependent on whether the simulator was configured in
Diffstat (limited to 'gdb/configure.tgt')
-rw-r--r--gdb/configure.tgt4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/configure.tgt b/gdb/configure.tgt
index 83e9189..7215eb5 100644
--- a/gdb/configure.tgt
+++ b/gdb/configure.tgt
@@ -212,13 +212,13 @@ powerpc-*-aix*) gdb_target=aix ;;
powerpcle-*-cygwin32) gdb_target=cygwin32 ;;
powerpcle-*-solaris*) gdb_target=solaris ;;
powerpc-*-eabi* | powerpc-*-linux* | powerpc-*-sysv* | powerpc-*-elf*)
- if test x"$powerpc_sim" = x"yes"; then
+ if test -f ../sim/ppc/Makefile; then
gdb_target=ppc-sim
else
gdb_target=ppc-eabi
fi ;;
powerpcle-*-eabi* | powerpcle-*-sysv* | powerpcle-*-elf*)
- if test x"$powerpc_sim" = x"yes"; then
+ if test -f ../sim/ppc/Makefile; then
gdb_target=ppcle-sim
else
gdb_target=ppcle-eabi