mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
* lib/gdb.exp: Just use "file exists", rather than undocumented
dejagnu procedure "findfile".
This commit is contained in:
@ -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>
|
Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
|
||||||
|
|
||||||
* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
|
* Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
|
||||||
|
@ -25,7 +25,11 @@
|
|||||||
|
|
||||||
global GDB
|
global GDB
|
||||||
if ![info exists GDB] then {
|
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
|
global GDBFLAGS
|
||||||
|
Reference in New Issue
Block a user