2012-01-18 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Wed, 18 Jan 2012 17:00:17 +0000 (17:00 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 18 Jan 2012 17:00:17 +0000 (17:00 +0000)
* gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
Allow output before ^done.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/mi_task_info.exp

index 88a56be8a98ac31aa9134c8368cb7843be0e2a04..131115b306d8f7eaa3bd64ec19a56206b5d8efc6 100644 (file)
@@ -1,3 +1,8 @@
+2012-01-18  Pedro Alves  <palves@redhat.com>
+
+       * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
+       Allow output before ^done.
+
 2012-01-16  Tom Tromey  <tromey@redhat.com>
 
        * gdb.linespec/linespec.exp: Change some tests to use $decimal.
index 42a1f9d6e52820e6fb1e5004ca58eb9afe9b079a..22e33757c58eccb6c0cd0861e569b59085966267 100644 (file)
@@ -57,7 +57,7 @@ set task_3 \
 
 # Get the full list of tasks...
 mi_gdb_test "-ada-task-info" \
-  "\\^done,tasks={nr_rows=\"3\",nr_cols=\"8\",$ada_task_info_hdr,body=\\\[$task_1,$task_2,$task_3\\\]}" \
+  ".*\\^done,tasks={nr_rows=\"3\",nr_cols=\"8\",$ada_task_info_hdr,body=\\\[$task_1,$task_2,$task_3\\\]}" \
   "-ada-task-info with no argument"
 
 # Now, only get the info about task 3.