GDBDebugger.st
changeset 174 18ef81a3fee5
parent 172 836209352efb
child 175 a04e1a36e888
--- a/GDBDebugger.st	Mon Jan 28 14:56:14 2019 +0000
+++ b/GDBDebugger.st	Mon Jan 28 22:47:57 2019 +0000
@@ -296,7 +296,7 @@
 
         cmd := command.
         cmd isString ifTrue:[
-            cmd := GDBCLICommand new value:cmd.
+            cmd := GDBCommand parse:cmd.
         ].    
         cmd token: self nextCommandSequnceNumber.
         connection pushEvent:(GDBCommandEvent new command:cmd).
@@ -305,7 +305,7 @@
 
     "Created: / 02-06-2014 / 23:45:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 26-03-2018 / 21:19:59 / jv"
-    "Modified: / 03-10-2018 / 11:59:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 28-01-2019 / 21:26:28 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 send:command andWaitFor:eventHandlers
@@ -1019,7 +1019,7 @@
     connection inferiorPTY notNil ifTrue:[
         self send: (GDBMI_inferior_tty_set arguments: (Array with: connection inferiorPTY name)).
     ].
-    self send: (GDBMI_gdb_set arguments: #('target-async' 'on')).
+    self send: (GDBMI_gdb_set arguments: #('mi-async' 'on')).
 
     result := self send: GDBMI_list_features new.
     debuggerFeatures := result propertyAt: #features.
@@ -1030,7 +1030,7 @@
 
     "Created: / 20-06-2014 / 21:45:21 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 26-03-2018 / 21:36:31 / jv"
-    "Modified: / 09-04-2018 / 15:38:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 28-01-2019 / 15:45:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 release