Code refactored to use Magritte to meta-describe GDB objects.
This should give greate flexibility without reinventing the wheel.
"{ Package: 'jv:libgdbs' }"
Object subclass:#GDBCommand
instanceVariableNames:'token'
classVariableNames:''
poolDictionaries:''
category:'GDB-Core-Commands'
!
!GDBCommand methodsFor:'accessing'!
token
^ token
!
token:anInteger
token := anInteger.
! !
!GDBCommand methodsFor:'accessing-descriptors'!
resultDescription
^ GDBMAContainer new
"Created: / 19-06-2014 / 21:39:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified: / 23-09-2014 / 23:37:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!GDBCommand methodsFor:'converting'!
asString
^ self subclassResponsibility
"Created: / 02-06-2014 / 23:34:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!GDBCommand methodsFor:'testing'!
isCLICommand
^ false
!
isMICommand
^ false
! !