aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-10-13 08:36:32 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-10-13 08:36:32 +0000
commit03dd63aa03bb1962c1c8756a64f869dae2c7b146 (patch)
tree577aa2fd13c4e77b554247a4789b3cc4ab573f54
parentd60dc82aca600f329d2fbd3f74dbdf1d43beb639 (diff)
downloadgdb-03dd63aa03bb1962c1c8756a64f869dae2c7b146.zip
gdb-03dd63aa03bb1962c1c8756a64f869dae2c7b146.tar.gz
gdb-03dd63aa03bb1962c1c8756a64f869dae2c7b146.tar.bz2
* gdb.base/maint.exp: Treat $EXEEXT as optional in output.
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.base/maint.exp4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 04182ea..69b13d2 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-09 Corinna Vinschen <vinschen@redhat.com>
+
+ * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
+
2001-10-04 Frank Ch. Eigler <fche@redhat.com>
* 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 ecccb22..a4bafe5 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" }