aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2010-10-02 17:48:23 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2010-10-02 17:48:23 +0000
commit84a02e583831203fba0a8ab8fcd65a9e626888da (patch)
treecea66dfb0ab255bea14b992d9ef44770784b7f37 /gdb/testsuite
parent4074d5f28c42e0fc2b552c8a82abf67a5857ecc4 (diff)
downloadgdb-84a02e583831203fba0a8ab8fcd65a9e626888da.zip
gdb-84a02e583831203fba0a8ab8fcd65a9e626888da.tar.gz
gdb-84a02e583831203fba0a8ab8fcd65a9e626888da.tar.bz2
* lib/mi-support.exp (thread_selected_re): Correct pattern used
to match a thread ID.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/mi-support.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 50f5967..331d7bc 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * lib/mi-support.exp (thread_selected_re): Correct pattern used
+ to match a thread ID.
+
2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix s390x testcase compatibility.
diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp
index e1dbd19..5de3183 100644
--- a/gdb/testsuite/lib/mi-support.exp
+++ b/gdb/testsuite/lib/mi-support.exp
@@ -30,7 +30,7 @@ global mi_inferior_tty_name
set MIFLAGS "-i=mi"
-set thread_selected_re "=thread-selected,id=\"\[0-9+\]\"\r\n"
+set thread_selected_re "=thread-selected,id=\"\[0-9\]+\"\r\n"
set library_loaded_re "=library-loaded\[^\n\]+\"\r\n"
#