* lib/gdb.exp: Just use "file exists", rather than undocumented

dejagnu procedure "findfile".
This commit is contained in:
Jim Kingdon 1995-02-17 00:00:53 +00:00
parent b596295f13
commit f7ef65ff72
2 changed files with 10 additions and 1 deletions

View 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):

View File

@ -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