* 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 753dfea..99169bd 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 31cdc4e..efd0910 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