Implement =thread-selected notification.
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.mi / mi-pthreads.exp
index dbb3ece3ffa5d467885a616366b81b76885b190b..0ab57158798280656fd4244b2c3af6115050d641 100644 (file)
@@ -55,6 +55,12 @@ proc check_mi_thread_command_set {} {
       "\\^done,new-thread-id=\"$thread\",frame={.*}(,line=\"(-)?\[0-9\]+\",file=\".*\")?" \
       "check_mi_thread_command_set: -thread-select $thread"
   }
+
+  foreach thread $thread_list {
+      mi_gdb_test "-interpreter-exec console \"thread $thread\"" \
+          ".*\\^done\r\n=thread-selected,id=\"$thread\"" \
+          "check =thread-selected: thread $thread"
+  }
 }
 
 #
This page took 0.02517 seconds and 4 git commands to generate.