+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
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 }
#
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" }