From 534df12ff9e01d7bbd941f6041bcf820e3b9c3c1 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 1 Dec 2016 02:55:22 +0100 Subject: [PATCH] #97, non stop option not applied correctly --- src/ce_gdb.pas | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ce_gdb.pas b/src/ce_gdb.pas index ee3fcef9..2901f602 100644 --- a/src/ce_gdb.pas +++ b/src/ce_gdb.pas @@ -1556,8 +1556,10 @@ begin gdbCommand('break _d_arraybounds'); gdbCommand('break _d_switch_error'); gdbCommand('-gdb-set mi-async on'); - if fOptions.stopAllThreadsOnBreak then + if not fOptions.stopAllThreadsOnBreak then gdbCommand('-gdb-set non-stop on'); + else + gdbCommand('-gdb-set non-stop off'); fGdb.OnReadData := @gdboutJsonize; // launch cpuViewer.TIObject := fInspState;