]>
Commit | Line | Data |
---|---|---|
7566401a | 1 | Index: gdb-6.8.50.20090811/gdb/infrun.c |
3a58abaf | 2 | =================================================================== |
7566401a ER |
3 | --- gdb-6.8.50.20090811.orig/gdb/infrun.c 2009-08-12 06:56:29.000000000 +0200 |
4 | +++ gdb-6.8.50.20090811/gdb/infrun.c 2009-08-12 07:13:08.000000000 +0200 | |
5 | @@ -1075,7 +1075,7 @@ static const char *scheduler_enums[] = { | |
3a58abaf AM |
6 | schedlock_step, |
7 | NULL | |
8 | }; | |
9 | -static const char *scheduler_mode = schedlock_off; | |
10 | +static const char *scheduler_mode = schedlock_step; | |
11 | static void | |
12 | show_scheduler_mode (struct ui_file *file, int from_tty, | |
13 | struct cmd_list_element *c, const char *value) | |
7566401a | 14 | Index: gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi-console.exp |
3a58abaf | 15 | =================================================================== |
7566401a ER |
16 | --- gdb-6.8.50.20090811.orig/gdb/testsuite/gdb.mi/mi-console.exp 2009-08-12 06:56:29.000000000 +0200 |
17 | +++ gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi-console.exp 2009-08-12 06:58:45.000000000 +0200 | |
3a58abaf AM |
18 | @@ -47,6 +47,9 @@ if { [gdb_compile "${srcdir}/${subdir}/ |
19 | ||
20 | mi_run_to_main | |
21 | ||
22 | +# thread-id=\"all\" vs. thread-id=\"1\" below: | |
23 | +mi_gdb_test "210-gdb-set scheduler-locking off" "210\\^done" "set scheduler-locking off" | |
24 | + | |
25 | # Next over the hello() call which will produce lots of output | |
26 | mi_gdb_test "220-exec-next" \ | |
27 | "220\\^running(\r\n\\*running,thread-id=\"all\")?" \ | |
7566401a | 28 | Index: gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi2-console.exp |
3a58abaf | 29 | =================================================================== |
7566401a ER |
30 | --- gdb-6.8.50.20090811.orig/gdb/testsuite/gdb.mi/mi2-console.exp 2009-08-12 06:56:29.000000000 +0200 |
31 | +++ gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi2-console.exp 2009-08-12 06:58:45.000000000 +0200 | |
3a58abaf AM |
32 | @@ -47,6 +47,9 @@ if { [gdb_compile "${srcdir}/${subdir}/ |
33 | ||
34 | mi_run_to_main | |
35 | ||
36 | +# thread-id=\"all\" vs. thread-id=\"1\" below: | |
37 | +mi_gdb_test "210-gdb-set scheduler-locking off" "210\\^done" "set scheduler-locking off" | |
38 | + | |
39 | # Next over the hello() call which will produce lots of output | |
40 | send_gdb "220-exec-next\n" | |
41 | gdb_expect { | |
7566401a ER |
42 | Index: gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi-cli.exp |
43 | =================================================================== | |
44 | --- gdb-6.8.50.20090811.orig/gdb/testsuite/gdb.mi/mi-cli.exp 2009-06-09 19:12:42.000000000 +0200 | |
45 | +++ gdb-6.8.50.20090811/gdb/testsuite/gdb.mi/mi-cli.exp 2009-08-12 07:13:32.000000000 +0200 | |
46 | @@ -173,7 +173,7 @@ mi_execute_to "exec-continue" "breakpoin | |
47 | # Test that the token is output even for CLI commands | |
48 | # Also test that *stopped includes frame information. | |
49 | mi_gdb_test "34 next" \ | |
50 | - ".*34\\\^running.*\\*running,thread-id=\"all\"" \ | |
51 | + ".*34\\\^running.*\\*running,thread-id=\"1\"" \ | |
52 | "34 next: run" | |
53 | ||
54 | if {!$async} { |