+2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
+
+ * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
+ Expect ".exe" extension.
+
2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
* gdb.base/charset.exp: Add explicit filename to break.
set testfile "annota3"
set srcfile ${testfile}.c
-set binfile ${objdir}/${subdir}/${testfile}
+set binfile ${objdir}/${subdir}/${testfile}$EXEEXT
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug nowarnings}] != "" } {
untested annota3.exp
send_gdb "run\n"
gdb_expect_list "run until main breakpoint" "$gdb_prompt$" {
"\r\n\032\032post-prompt\r\n"
- "Starting program: .*annota3 \r\n"
+ "Starting program: .*annota3(|\.exe) \r\n"
"\r\n\032\032starting\r\n"
"\r\n\032\032breakpoint 1\r\n"
"\r\n"