GDBDebugger: increase sequence number when inferior has stopped
authorJan Vrany <jan.vrany@fit.cvut.cz>
Tue, 10 Mar 2015 09:55:23 +0000
changeset 69 10d9be451202
parent 68 633494860f35
child 70 6d7285bb1703
GDBDebugger: increase sequence number when inferior has stopped Otherwise transient data would not be updated properly.
GDBDebugger.st
--- a/GDBDebugger.st	Tue Mar 10 09:07:27 2015 +0000
+++ b/GDBDebugger.st	Tue Mar 10 09:55:23 2015 +0000
@@ -395,6 +395,7 @@
     threadIds = 'all' ifFalse:[ 
         threadIds := threadIds collect:[:e | e asInteger ].
     ].
+    self nextInferiorStateSequnceNumber.
     threads := Set new.
     inferiors do:[:inferior | 
         inferior threads do:[:thread | 
@@ -406,7 +407,7 @@
     aGDBStoppedEvent setThreads: threads
 
     "Created: / 07-09-2014 / 23:34:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 08-03-2015 / 09:07:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 10-03-2015 / 00:29:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 onThreadCreatedEvent:aGDBThreadCreatedEvent