Fix races in mi2-return.exp.
authorMarek Polacek <mpolacek@sourceware.org>
Thu, 23 Jun 2011 09:45:24 +0000 (09:45 +0000)
committerMarek Polacek <mpolacek@sourceware.org>
Thu, 23 Jun 2011 09:45:24 +0000 (09:45 +0000)
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi2-return.exp

index 3b84b695646baeeaf9f569987e26e111cb31249d..8d07e4af6e45ab122465635d1e03d06fd9a4f8cf 100644 (file)
@@ -1,15 +1,19 @@
 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
 
-        * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
+       * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
 
 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
 
-        * gdb.mi/mi2-basics.exp: Fix races.  Honour the
-        `test_exec_and_symbol_mi_operatons' return value.
-        (test_mi_interpreter_selection): Use mi_gdb_test instead of
-        gdb_test_multiple.
-        (test_exec_and_symbol_mi_operatons): Likewise.
-        (test_path_specification): Likewise.
+       * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
+
+2011-06-23  Marek Polacek  <mpolacek@redhat.com>
+
+       * gdb.mi/mi2-basics.exp: Fix races.  Honour the
+       `test_exec_and_symbol_mi_operatons' return value.
+       (test_mi_interpreter_selection): Use mi_gdb_test instead of
+       gdb_test_multiple.
+       (test_exec_and_symbol_mi_operatons): Likewise.
+       (test_path_specification): Likewise.
 
 2011-06-23  Yao Qi  <yao@codesourcery.com>
 
 
 2011-06-21  Marek Polacek  <mpolacek@redhat.com>
 
-        * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
+       * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
        mi_gdb_test.
 
 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
 
-        * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
+       * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
 
 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
 
-        * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
+       * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
        mi_gdb_test.
 
 2011-06-20  Marek Polacek  <mpolacek@redhat.com>
 
-        * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
+       * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
 
 2011-06-14  Yao Qi  <yao@codesourcery.com>
 
index f0826c4acfab732e3406233a6f5b68269b55ec7d..c2940dff997f2955fdeb6cd08e6559253c8258cb 100644 (file)
@@ -53,11 +53,7 @@ proc test_return_simple {} {
     set line_callee3_call         [expr $line_callee3_head + 2]
     set line_callee3_close_brace  [expr $line_callee3_head + 3]
 
-    gdb_test_multiple "111-exec-return" "return from callee4 now" {
-       -re "111\\^done,frame=\{level=\"0\",addr=\"$hex\",func=\"callee3\",args=\\\[.*\\\],file=\".*basics.c\",fullname=\"${fullname_syntax}${srcfile}\",line=\"($line_callee3_call|$line_callee3_close_brace)\"\}\r\n$mi_gdb_prompt$" {
-           pass "return from callee4 now"
-       }
-    }
+    mi_gdb_test "111-exec-return" "111\\^done,frame=\{level=\"0\",addr=\"$hex\",func=\"callee3\",args=\\\[.*\\\],file=\".*basics.c\",fullname=\"${fullname_syntax}${srcfile}\",line=\"($line_callee3_call|$line_callee3_close_brace)\"\}" "return from callee4 now"
 }
 
 mi_runto callee4