forked from Imagelibrary/binutils-gdb
* configure.in: Add AC_EXEEXT.
* configure: Regenerate. * Makefile.in (just-check): Export EXEEXT. * lib/gdb.exp ($EXEEXT): Import from environment. * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't expect "maint dump-me" on Cygwin. * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append $EXEEXT.
This commit is contained in:
@@ -63,6 +63,16 @@ if ![info exists gdb_prompt] then {
|
||||
set gdb_prompt "\[(\]gdb\[)\]"
|
||||
}
|
||||
|
||||
# Needed for some tests under Cygwin.
|
||||
global EXEEXT
|
||||
global env
|
||||
|
||||
if ![info exists env(EXEEXT)] {
|
||||
set EXEEXT ""
|
||||
} else {
|
||||
set EXEEXT $env(EXEEXT)
|
||||
}
|
||||
|
||||
### Only procedures should come after this point.
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user