* lib/gdb.exp: Just use "file exists", rather than undocumented
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 17 Feb 1995 00:00:53 +0000 (00:00 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 17 Feb 1995 00:00:53 +0000 (00:00 +0000)
dejagnu procedure "findfile".

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 753dfea9f1566e3650b1548183e994bd9b10f037..99169bd36fd4f61dc1338dc6478e02d18a38cc16 100644 (file)
@@ -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):
index 31cdc4eaee0dcc1e50e0668930d8b03c408b0054..efd0910085ec6d13b0f5cc5d049d7a66c28b217c 100644 (file)
 
 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