--- a/GDBThreadGroup.st Tue Mar 27 08:55:29 2018 +0100
+++ b/GDBThreadGroup.st Tue Mar 27 08:57:13 2018 +0100
@@ -99,8 +99,9 @@
!GDBThreadGroup methodsFor:'accessing'!
executable
- (executable isNil and:[ pid notNil ]) ifTrue:[
+ (executable isNil and:[ pid notNil and:[self isStopped or:[debugger hasFeature:'async']]]) ifTrue:[
| result tg |
+
result := debugger send: GDBMI_list_thread_groups new.
result status ~~ CommandStatusDone ifTrue:[
self error: 'Failed to send command.'
@@ -111,6 +112,7 @@
^ executable
"Created: / 06-06-2017 / 00:04:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 26-03-2018 / 21:44:53 / jv"
!
exitCode