GDBMI_exec_run.st
changeset 61 b68d121e3895
parent 47 4f5d75acecb0
child 78 c24e7d8bc881
equal deleted inserted replaced
60:ab92b3e4aecf 61:b68d121e3895
       
     1 "{ Encoding: utf8 }"
       
     2 
     1 "{ Package: 'jv:libgdbs' }"
     3 "{ Package: 'jv:libgdbs' }"
       
     4 
       
     5 "{ NameSpace: Smalltalk }"
     2 
     6 
     3 GDBMICommand subclass:#GDBMI_exec_run
     7 GDBMICommand subclass:#GDBMI_exec_run
     4 	instanceVariableNames:''
     8 	instanceVariableNames:''
     5 	classVariableNames:''
     9 	classVariableNames:''
     6 	poolDictionaries:''
    10 	poolDictionaries:''
    89 
    93 
    90 operation
    94 operation
    91 	^ 'exec-run'
    95 	^ 'exec-run'
    92 ! !
    96 ! !
    93 
    97 
       
    98 !GDBMI_exec_run methodsFor:'converting'!
       
    99 
       
   100 asString
       
   101 
       
   102     "/ Following code is an workaround to a bug in GDB up to 7.9,
       
   103     "/ which does not correctly handle this command in async mode.
       
   104     "/ According to GDB source code, the MI command actually issues
       
   105     "/ CLI command run in background mode (if mi-async is on).
       
   106     "/ See https://sourceware.org/bugzilla/show_bug.cgi?id=18077
       
   107     "/ 
       
   108     "/ As a (temporary) workaround, substitute for CLI command here.
       
   109     ^ 'r &'
       
   110 
       
   111     "Created: / 04-03-2015 / 20:49:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   112 ! !
       
   113 
    94 !GDBMI_exec_run class methodsFor:'documentation'!
   114 !GDBMI_exec_run class methodsFor:'documentation'!
    95 
   115 
    96 version_HG
   116 version_HG
    97 
   117 
    98     ^ '$Changeset: <not expanded> $'
   118     ^ '$Changeset: <not expanded> $'