* lib/mi-support.exp (thread_selected_re): Correct pattern used
authorMaciej W. Rozycki <macro@linux-mips.org>
Sat, 2 Oct 2010 17:48:23 +0000 (17:48 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Sat, 2 Oct 2010 17:48:23 +0000 (17:48 +0000)
to match a thread ID.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/mi-support.exp

index 50f5967..331d7bc 100644 (file)
@@ -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.
index e1dbd19..5de3183 100644 (file)
@@ -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"
 
 #