aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-01-18 17:00:17 +0000
committerPedro Alves <palves@redhat.com>2012-01-18 17:00:17 +0000
commitb9736cf83681f40268c92758a11cc5f67343ae31 (patch)
tree93a9e3a7b1610d840fc68851358c3cc671194d50
parent2dbca4d632a80b36f1da836d366c28c9e1d71e20 (diff)
downloadgdb-b9736cf83681f40268c92758a11cc5f67343ae31.zip
gdb-b9736cf83681f40268c92758a11cc5f67343ae31.tar.gz
gdb-b9736cf83681f40268c92758a11cc5f67343ae31.tar.bz2
2012-01-18 Pedro Alves <palves@redhat.com>
* gdb.ada/mi_task_info.exp (-ada-task-info with no argument): Allow output before ^done.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.ada/mi_task_info.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 88a56be..131115b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.ada/mi_task_info.exp b/gdb/testsuite/gdb.ada/mi_task_info.exp
index 42a1f9d..22e3375 100644
--- a/gdb/testsuite/gdb.ada/mi_task_info.exp
+++ b/gdb/testsuite/gdb.ada/mi_task_info.exp
@@ -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.