556378e
Index: gdb-7.5.50.20130118/gdb/infrun.c
407ebe9
===================================================================
556378e
--- gdb-7.5.50.20130118.orig/gdb/infrun.c	2013-01-19 20:56:34.142917416 +0100
556378e
+++ gdb-7.5.50.20130118/gdb/infrun.c	2013-01-19 20:56:34.662918474 +0100
556378e
@@ -1628,7 +1628,7 @@ static const char *const scheduler_enums
c78c51c
   schedlock_step,
c78c51c
   NULL
c78c51c
 };
c78c51c
-static const char *scheduler_mode = schedlock_off;
c78c51c
+static const char *scheduler_mode = schedlock_step;
c78c51c
 static void
c78c51c
 show_scheduler_mode (struct ui_file *file, int from_tty,
c78c51c
 		     struct cmd_list_element *c, const char *value)
556378e
Index: gdb-7.5.50.20130118/gdb/testsuite/gdb.mi/mi-cli.exp
407ebe9
===================================================================
556378e
--- gdb-7.5.50.20130118.orig/gdb/testsuite/gdb.mi/mi-cli.exp	2013-01-01 07:41:24.000000000 +0100
556378e
+++ gdb-7.5.50.20130118/gdb/testsuite/gdb.mi/mi-cli.exp	2013-01-19 20:56:34.662918474 +0100
556378e
@@ -163,7 +163,7 @@ mi_execute_to "exec-continue" "breakpoin
2280d55
 # Test that the token is output even for CLI commands
2280d55
 # Also test that *stopped includes frame information.
2280d55
 mi_gdb_test "34 next" \
2280d55
-    ".*34\\\^running.*\\*running,thread-id=\"all\"" \
2280d55
+    ".*34\\\^running.*\\*running,thread-id=\"1\"" \
2280d55
     "34 next: run"
2280d55
 
2280d55
 if {!$async} {
556378e
Index: gdb-7.5.50.20130118/gdb/testsuite/gdb.mi/mi-logging.exp
11eae30
===================================================================
556378e
--- gdb-7.5.50.20130118.orig/gdb/testsuite/gdb.mi/mi-logging.exp	2013-01-01 07:41:24.000000000 +0100
556378e
+++ gdb-7.5.50.20130118/gdb/testsuite/gdb.mi/mi-logging.exp	2013-01-19 20:56:34.662918474 +0100
556378e
@@ -53,7 +53,7 @@ close $chan
11eae30
 
11eae30
 set mi_log_prompt "\[(\]gdb\[)\] \[\r\n\]+"
11eae30
 
11eae30
-if [regexp "\\^done\[\r\n\]+$mi_log_prompt\\^running\[\r\n\]+\\*running,thread-id=\"all\"\[\r\n\]+$mi_log_prompt\\*stopped,reason=\"end-stepping-range\",.*\[\r\n\]+$mi_log_prompt\\^running\[\r\n\]+\\*running,thread-id=\"all\"\[\r\n\]+$mi_log_prompt\\*stopped,reason=\"end-stepping-range\",.*\[\r\n\]+$mi_log_prompt" $logcontent] {
11eae30
+if [regexp "\\^done\[\r\n\]+$mi_log_prompt\\^running\[\r\n\]+\\*running,thread-id=\"1\"\[\r\n\]+$mi_log_prompt\\*stopped,reason=\"end-stepping-range\",.*\[\r\n\]+$mi_log_prompt\\^running\[\r\n\]+\\*running,thread-id=\"1\"\[\r\n\]+$mi_log_prompt\\*stopped,reason=\"end-stepping-range\",.*\[\r\n\]+$mi_log_prompt" $logcontent] {
11eae30
     pass "Log file contents"
11eae30
 } else {
11eae30
     fail "Log file contents"
556378e
@@ -76,7 +76,7 @@ set chan [open $milogfile]
11eae30
 set logcontent [read $chan]
11eae30
 close $chan
11eae30
 
11eae30
-if [regexp "1001\\^done\[\r\n\]+$mi_log_prompt.*1002\\^running\[\r\n\]+\\*running,thread-id=\"all\"\[\r\n\]+$mi_log_prompt\\*stopped,reason=\"end-stepping-range\",.*\[\r\n\]+$mi_log_prompt.*1003\\^running\[\r\n\]+\\*running,thread-id=\"all\"\[\r\n\]+$mi_log_prompt\\*stopped,reason=\"end-stepping-range\",.*\[\r\n\]+$mi_log_prompt" $logcontent] {
11eae30
+if [regexp "1001\\^done\[\r\n\]+$mi_log_prompt.*1002\\^running\[\r\n\]+\\*running,thread-id=\"1\"\[\r\n\]+$mi_log_prompt\\*stopped,reason=\"end-stepping-range\",.*\[\r\n\]+$mi_log_prompt.*1003\\^running\[\r\n\]+\\*running,thread-id=\"1\"\[\r\n\]+$mi_log_prompt\\*stopped,reason=\"end-stepping-range\",.*\[\r\n\]+$mi_log_prompt" $logcontent] {
11eae30
     pass "Redirect log file contents"
11eae30
 } else {
11eae30
     fail "Redirect log file contents"
556378e
Index: gdb-7.5.50.20130118/gdb/testsuite/gdb.mi/mi-console.exp
556378e
===================================================================
556378e
--- gdb-7.5.50.20130118.orig/gdb/testsuite/gdb.mi/mi-console.exp	2013-01-01 07:41:24.000000000 +0100
556378e
+++ gdb-7.5.50.20130118/gdb/testsuite/gdb.mi/mi-console.exp	2013-01-19 20:56:55.783961145 +0100
556378e
@@ -45,6 +45,9 @@ if  { [gdb_compile "${srcdir}/${subdir}/
556378e
 
556378e
 mi_run_to_main
556378e
 
556378e
+# thread-id=\"all\" vs. thread-id=\"1\" below:
556378e
+mi_gdb_test "210-gdb-set scheduler-locking off" "210\\^done" "set scheduler-locking off"
556378e
+
556378e
 # Next over the hello() call which will produce lots of output
556378e
 mi_gdb_test "220-exec-next" \
556378e
 	    "220\\^running(\r\n\\*running,thread-id=\"all\")?" \