GDBThreadGroupExitedEvent.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 28 Jan 2019 22:47:57 +0000
changeset 174 18ef81a3fee5
parent 91 472a4841a8b6
child 259 651864c2aa29
permissions -rw-r--r--
Add `GDBCLICommand >> #operation` returning (expanded) CLI command ...just like `GDBMICommand >> #operation` returns MI command. This can be used to test whether user typed in specific CLI command. However, this method uses static table and this may not be up-to-date with particular GDB and it is ignorant of any user-defined CLI commands.

"
jv:libgdbs - GNU Debugger Interface Library
Copyright (C) 2015-now Jan Vrany

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License. 

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
"
"{ Package: 'jv:libgdbs' }"

"{ NameSpace: Smalltalk }"

GDBThreadGroupEvent subclass:#GDBThreadGroupExitedEvent
	instanceVariableNames:'exit_code'
	classVariableNames:''
	poolDictionaries:''
	category:'GDB-Core-Events'
!

!GDBThreadGroupExitedEvent class methodsFor:'documentation'!

copyright
"
jv:libgdbs - GNU Debugger Interface Library
Copyright (C) 2015-now Jan Vrany

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License. 

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
"
! !

!GDBThreadGroupExitedEvent class methodsFor:'accessing - GDB value descriptors'!

description
    ^ (super description)
        define:#'exit-code' as:Integer;
        yourself

    "Created: / 06-09-2014 / 02:12:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!GDBThreadGroupExitedEvent methodsFor:'accessing'!

exitCode
    ^ exit_code

    "Created: / 06-09-2014 / 02:11:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!

type
	^  'thread-group-exited'
! !