This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFC/WIP PATCH v2 12/12] Default "set schedule-multiple" to on


See description of previous patch.
---
 gdb/infrun.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/gdb/infrun.c b/gdb/infrun.c
index f77ecd7..c3e6d0d 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -1646,10 +1646,10 @@ set_schedlock_func (char *args, int from_tty, struct cmd_list_element *c)
     }
 }
 
-/* True if execution commands resume all threads of all processes by
-   default; otherwise, resume only threads of the current inferior
-   process.  */
-int sched_multi = 0;
+/* True if execution commands resume all threads of all processes in
+   the current focus by default; otherwise, resume only threads of the
+   current inferior process.  */
+int sched_multi = 1;
 
 /* Try to setup for software single stepping over the specified location.
    Return 1 if target_resume() should use hardware single step.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]