Code refactored to use Magritte to meta-describe GDB objects.
This should give greate flexibility without reinventing the wheel.
"{ Package: 'jv:libgdbs' }"
GDBExecutionEvent subclass:#GDBRunningEvent
instanceVariableNames:''
classVariableNames:''
poolDictionaries:''
category:'GDB-Core-Events'
!
!GDBRunningEvent class methodsFor:'accessing - GDB value descriptors'!
description
^ (super description)
define:#'thread-id' as:Integer;
yourself
"Created: / 08-09-2014 / 22:00:09 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified: / 22-09-2014 / 23:38:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!GDBRunningEvent methodsFor:'accessing'!
threadId
^ thread_id
"Created: / 08-09-2014 / 22:01:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
type
^ 'running'
! !