GDBMI_exec_run.st
changeset 118 c44c1ab86af1
parent 91 472a4841a8b6
child 259 651864c2aa29
equal deleted inserted replaced
117:17e5e955c3c1 118:c44c1ab86af1
   130 
   130 
   131 operation
   131 operation
   132 	^ 'exec-run'
   132 	^ 'exec-run'
   133 ! !
   133 ! !
   134 
   134 
   135 !GDBMI_exec_run methodsFor:'converting'!
       
   136 
       
   137 asString
       
   138 
       
   139     "/ Following code is an workaround to a bug in GDB up to 7.9,
       
   140     "/ which does not correctly handle this command in async mode.
       
   141     "/ According to GDB source code, the MI command actually issues
       
   142     "/ CLI command run in background mode (if mi-async is on).
       
   143     "/ See https://sourceware.org/bugzilla/show_bug.cgi?id=18077
       
   144     "/ 
       
   145     "/ As a (temporary) workaround, substitute for CLI command here.
       
   146     ^ (token notNil ifTrue:[token printString ] ifFalse:['']) , 'r &'
       
   147 
       
   148     "Created: / 04-03-2015 / 20:49:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   149     "Modified: / 11-07-2017 / 23:31:08 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   150 ! !
       
   151 
       
   152 !GDBMI_exec_run class methodsFor:'documentation'!
   135 !GDBMI_exec_run class methodsFor:'documentation'!
   153 
   136 
   154 version_HG
   137 version_HG
   155 
   138 
   156     ^ '$Changeset: <not expanded> $'
   139     ^ '$Changeset: <not expanded> $'