2280d55
Index: gdb-6.8.50.20090811/gdb/infrun.c
407ebe9
===================================================================
2280d55
--- gdb-6.8.50.20090811.orig/gdb/infrun.c	2009-08-12 06:56:29.000000000 +0200
2280d55
+++ gdb-6.8.50.20090811/gdb/infrun.c	2009-08-12 07:13:08.000000000 +0200
2280d55
@@ -1075,7 +1075,7 @@ static const char *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)
2280d55
Index: gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi-console.exp
407ebe9
===================================================================
2280d55
--- gdb-6.8.50.20090811.orig/gdb/testsuite/gdb.mi/mi-console.exp	2009-08-12 06:56:29.000000000 +0200
2280d55
+++ gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi-console.exp	2009-08-12 06:58:45.000000000 +0200
407ebe9
@@ -47,6 +47,9 @@ if  { [gdb_compile "${srcdir}/${subdir}/
407ebe9
 
407ebe9
 mi_run_to_main
407ebe9
 
407ebe9
+# thread-id=\"all\" vs. thread-id=\"1\" below:
407ebe9
+mi_gdb_test "210-gdb-set scheduler-locking off" "210\\^done" "set scheduler-locking off"
407ebe9
+
407ebe9
 # Next over the hello() call which will produce lots of output
407ebe9
 mi_gdb_test "220-exec-next" \
407ebe9
 	    "220\\^running(\r\n\\*running,thread-id=\"all\")?" \
2280d55
Index: gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi2-console.exp
407ebe9
===================================================================
2280d55
--- gdb-6.8.50.20090811.orig/gdb/testsuite/gdb.mi/mi2-console.exp	2009-08-12 06:56:29.000000000 +0200
2280d55
+++ gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi2-console.exp	2009-08-12 06:58:45.000000000 +0200
407ebe9
@@ -47,6 +47,9 @@ if  { [gdb_compile "${srcdir}/${subdir}/
407ebe9
 
407ebe9
 mi_run_to_main
407ebe9
 
407ebe9
+# thread-id=\"all\" vs. thread-id=\"1\" below:
407ebe9
+mi_gdb_test "210-gdb-set scheduler-locking off" "210\\^done" "set scheduler-locking off"
407ebe9
+
407ebe9
 # Next over the hello() call which will produce lots of output
407ebe9
 send_gdb "220-exec-next\n"
407ebe9
 gdb_expect {
2280d55
Index: gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi-cli.exp
2280d55
===================================================================
2280d55
--- gdb-6.8.50.20090811.orig/gdb/testsuite/gdb.mi/mi-cli.exp	2009-06-09 19:12:42.000000000 +0200
2280d55
+++ gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi-cli.exp	2009-08-12 07:13:32.000000000 +0200
2280d55
@@ -173,7 +173,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} {