aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-02-17 00:00:53 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-02-17 00:00:53 +0000
commitf7ef65ff727f0af31fef54a4c9ee9edcf12bcfc2 (patch)
treec495b7b27f1c3086c06f2432bb58ff56b3f9e259 /gdb/testsuite
parentb596295f13f75a8c712ddc848cf61dcd7d820150 (diff)
downloadfsf-binutils-gdb-f7ef65ff727f0af31fef54a4c9ee9edcf12bcfc2.zip
fsf-binutils-gdb-f7ef65ff727f0af31fef54a4c9ee9edcf12bcfc2.tar.gz
fsf-binutils-gdb-f7ef65ff727f0af31fef54a4c9ee9edcf12bcfc2.tar.bz2
* lib/gdb.exp: Just use "file exists", rather than undocumented
dejagnu procedure "findfile".
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/gdb.exp6
2 files changed, 10 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 753dfea..99169bd 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
+
+ * lib/gdb.exp: Just use "file exists", rather than undocumented
+ dejagnu procedure "findfile".
+
Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 31cdc4e..efd0910 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -25,7 +25,11 @@
global GDB
if ![info exists GDB] then {
- set GDB [findfile $base_dir/../gdb $base_dir/../gdb [transform gdb ]]
+ if [file exists $base_dir/../gdb] then {
+ set GDB $base_dir/../gdb
+ } else {
+ set GDB [transform gdb]
+ }
}
global GDBFLAGS