* 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 50f596732039cbf06a6920651cae3fc3d816de6d..331d7bc5b06f4ad7ea817e1aad12ba5282433355 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 e1dbd19bf56b19a5cbad0a5eff22a7ac6844d5f9..5de31832cc5e1c3b05b0f7500e1fe0a800a5e275 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"
 
 #