From: Jim Kingdon Date: Fri, 17 Feb 1995 00:00:53 +0000 (+0000) Subject: * lib/gdb.exp: Just use "file exists", rather than undocumented X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7ef65ff727f0af31fef54a4c9ee9edcf12bcfc2;p=binutils-gdb.git * lib/gdb.exp: Just use "file exists", rather than undocumented dejagnu procedure "findfile". --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 753dfea9f15..99169bd36fd 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 * 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 31cdc4eaee0..efd0910085e 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