* gdb.base/annota3.exp ($binfile): Append $EXEEXT.
authorDaniel Jacobowitz <drow@false.org>
Thu, 4 Jan 2007 20:53:50 +0000 (20:53 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 4 Jan 2007 20:53:50 +0000 (20:53 +0000)
Expect ".exe" extension.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/annota3.exp

index 2ee358fbaa4690a56cc2f44e0b3a167aaa554686..80a5aae8d183e8a966ffba4c61ad9f11cbf95074 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 0410fbf2e7d9d4dd5f14111d44560fd349616a17..e5be29c0ebaa92327c0847d1e9b417d7d55e7f15 100644 (file)
@@ -39,7 +39,7 @@ set bug_id 0
 
 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
@@ -118,7 +118,7 @@ gdb_expect_list "breakpoint info" "$gdb_prompt$" {
 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"