diff options
author | Nicholas Duffek <nsd@redhat.com> | 2000-11-17 16:37:48 +0000 |
---|---|---|
committer | Nicholas Duffek <nsd@redhat.com> | 2000-11-17 16:37:48 +0000 |
commit | 930764990dffdc53fe322f7db4ac952fd5d0446f (patch) | |
tree | 05b2ea868dcdf63197005d536e640c6c7539b49a /gdb/testsuite/lib | |
parent | 30e87cd37230c673d7c3d675b6b278485ca2f225 (diff) | |
download | gdb-930764990dffdc53fe322f7db4ac952fd5d0446f.zip gdb-930764990dffdc53fe322f7db4ac952fd5d0446f.tar.gz gdb-930764990dffdc53fe322f7db4ac952fd5d0446f.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 594bf9e..c7990d1 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -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. # |