GDBThread.st
changeset 214 0c56387e5d12
parent 136 213e436320fe
child 220 372b64967435
equal deleted inserted replaced
213:b13fd3784ba0 214:0c56387e5d12
     1 "
     1 "
     2 jv:libgdbs - GNU Debugger Interface Library
     2 jv:libgdbs - GNU Debugger Interface Library
     3 Copyright (C) 2015-now Jan Vrany
     3 Copyright (C) 2015-now Jan Vrany
       
     4 Copyright (C) 2020-2021 LabWare
     4 
     5 
     5 This library is free software; you can redistribute it and/or
     6 This library is free software; you can redistribute it and/or
     6 modify it under the terms of the GNU Lesser General Public
     7 modify it under the terms of the GNU Lesser General Public
     7 License as published by the Free Software Foundation; either
     8 License as published by the Free Software Foundation; either
     8 version 2.1 of the License. 
     9 version 2.1 of the License. 
    31 
    32 
    32 copyright
    33 copyright
    33 "
    34 "
    34 jv:libgdbs - GNU Debugger Interface Library
    35 jv:libgdbs - GNU Debugger Interface Library
    35 Copyright (C) 2015-now Jan Vrany
    36 Copyright (C) 2015-now Jan Vrany
       
    37 Copyright (C) 2020-2021 LabWare
    36 
    38 
    37 This library is free software; you can redistribute it and/or
    39 This library is free software; you can redistribute it and/or
    38 modify it under the terms of the GNU Lesser General Public
    40 modify it under the terms of the GNU Lesser General Public
    39 License as published by the Free Software Foundation; either
    41 License as published by the Free Software Foundation; either
    40 version 2.1 of the License. 
    42 version 2.1 of the License. 
    85 
    87 
    86     "Created: / 07-09-2014 / 22:41:29 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    88     "Created: / 07-09-2014 / 22:41:29 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    87 !
    89 !
    88 
    90 
    89 name
    91 name
    90     ^ self targetId
    92     | i |
       
    93 
       
    94     i := self info.
       
    95     ^ i name ? i targetId.
    91 
    96 
    92     "Created: / 10-03-2015 / 00:32:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    97     "Created: / 10-03-2015 / 00:32:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
    98     "Modified: / 22-02-2021 / 13:21:13 / Jan Vrany <jan.vrany@labware.com>"
    93 !
    99 !
    94 
   100 
    95 stack
   101 stack
    96     self ensureIsStopped.
   102     self ensureIsStopped.
    97     stack isNil ifTrue:[
   103     stack isNil ifTrue:[
   172     ].
   178     ].
   173     ^ stack value
   179     ^ stack value
   174 
   180 
   175     "Created: / 09-09-2014 / 00:02:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   181     "Created: / 09-09-2014 / 00:02:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   176     "Modified: / 01-09-2018 / 00:11:19 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   182     "Modified: / 01-09-2018 / 00:11:19 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   183     "Modified: / 10-12-2020 / 20:07:58 / Jan Vrany <jan.vrany@labware.com>"
   177 !
   184 !
   178 
   185 
   179 status
   186 status
   180     status isUnknown ifTrue:[ 
   187     status isUnknown ifTrue:[ 
   181         status := self info state
   188         status := self info state