]> git.pld-linux.org Git - packages/gdb.git/blame - gdb-6.6-scheduler_locking-step-is-default.patch
- update some patches from gdb-7.2-51.fc14 (this fixes at least artifical arrays...
[packages/gdb.git] / gdb-6.6-scheduler_locking-step-is-default.patch
CommitLineData
51a5ef0f 1Index: gdb-7.1.90.20100711/gdb/infrun.c
3a58abaf 2===================================================================
51a5ef0f
PS
3--- gdb-7.1.90.20100711.orig/gdb/infrun.c 2010-07-12 10:05:26.000000000 +0200
4+++ gdb-7.1.90.20100711/gdb/infrun.c 2010-07-12 10:58:56.000000000 +0200
5@@ -1491,7 +1491,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)
51a5ef0f 14Index: gdb-7.1.90.20100711/gdb/testsuite/gdb.mi/mi-console.exp
3a58abaf 15===================================================================
51a5ef0f
PS
16--- gdb-7.1.90.20100711.orig/gdb/testsuite/gdb.mi/mi-console.exp 2010-01-01 08:32:03.000000000 +0100
17+++ gdb-7.1.90.20100711/gdb/testsuite/gdb.mi/mi-console.exp 2010-07-12 10:58:56.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\")?" \
51a5ef0f 28Index: gdb-7.1.90.20100711/gdb/testsuite/gdb.mi/mi2-console.exp
3a58abaf 29===================================================================
51a5ef0f
PS
30--- gdb-7.1.90.20100711.orig/gdb/testsuite/gdb.mi/mi2-console.exp 2010-05-26 20:12:13.000000000 +0200
31+++ gdb-7.1.90.20100711/gdb/testsuite/gdb.mi/mi2-console.exp 2010-07-12 10:59:14.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
51a5ef0f
PS
40 gdb_test_multiple "220-exec-next" "Started step over hello" {
41 -re "220\\^running\r\n(\\*running,thread-id=\"all\"\r\n)?$mi_gdb_prompt" {
42Index: gdb-7.1.90.20100711/gdb/testsuite/gdb.mi/mi-cli.exp
7566401a 43===================================================================
51a5ef0f
PS
44--- gdb-7.1.90.20100711.orig/gdb/testsuite/gdb.mi/mi-cli.exp 2010-01-19 09:00:39.000000000 +0100
45+++ gdb-7.1.90.20100711/gdb/testsuite/gdb.mi/mi-cli.exp 2010-07-12 10:58:56.000000000 +0200
46@@ -176,7 +176,7 @@ mi_execute_to "exec-continue" "breakpoin
7566401a
ER
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} {
This page took 0.069544 seconds and 4 git commands to generate.