From: Corinna Vinschen Date: Sat, 13 Oct 2001 08:36:32 +0000 (+0000) Subject: * gdb.base/maint.exp: Treat $EXEEXT as optional in output. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=03dd63aa03bb1962c1c8756a64f869dae2c7b146;p=binutils-gdb.git * gdb.base/maint.exp: Treat $EXEEXT as optional in output. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 04182ea7f53..69b13d20f1d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2001-10-09 Corinna Vinschen + + * gdb.base/maint.exp: Treat $EXEEXT as optional in output. + 2001-10-04 Frank Ch. Eigler * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu diff --git a/gdb/testsuite/gdb.base/maint.exp b/gdb/testsuite/gdb.base/maint.exp index ecccb226bc6..a4bafe52ea1 100644 --- a/gdb/testsuite/gdb.base/maint.exp +++ b/gdb/testsuite/gdb.base/maint.exp @@ -200,7 +200,7 @@ set keep_looking 1 while {$keep_looking} { gdb_expect { - -re ".*Object file.*break$EXEEXT: Objfile at $hex, bfd at $hex, \[0-9\]* minsyms\[\r\t \]+\n" { set header 1 } + -re ".*Object file.*break($EXEEXT)?: Objfile at $hex, bfd at $hex, \[0-9\]* minsyms\[\r\t \]+\n" { set header 1 } -re ".*Psymtabs:\[\r\t \]+\n" { set psymtabs 1 } -re ".*Symtabs:\[\r\t \]+\n" { set symtabs 1 } @@ -379,7 +379,7 @@ set timeout [expr $timeout + 300] # send_gdb "maint info sections\n" gdb_expect { - -re "Exec file:\r\n.*break$EXEEXT., file type.*$gdb_prompt $"\ + -re "Exec file:\r\n.*break($EXEEXT)?., file type.*$gdb_prompt $"\ { pass "maint info sections" } -re ".*$gdb_prompt $" { fail "maint info sections" } timeout { fail "(timeout) maint info sections" }