#97, non stop option not applied correctly

This commit is contained in:
Basile Burg 2016-12-01 02:55:22 +01:00
parent 8dc82b987f
commit 534df12ff9
No known key found for this signature in database
GPG Key ID: 1868039F415CB8CF
1 changed files with 3 additions and 1 deletions

View File

@ -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;