From f7ef65ff727f0af31fef54a4c9ee9edcf12bcfc2 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Fri, 17 Feb 1995 00:00:53 +0000 Subject: [PATCH] * lib/gdb.exp: Just use "file exists", rather than undocumented dejagnu procedure "findfile". --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/gdb.exp | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) 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 -- 2.30.2