Catch up after API changes in GDBDebugger command API.
authorJan Vrany <jan.vrany@fit.cvut.cz>
Sun, 08 Mar 2015 15:50:52 +0000
changeset 39 d2afdbaaabdb
parent 38 9b861cb882c8
child 40 d766d4c854a2
Catch up after API changes in GDBDebugger command API. Use #send:andWaif: instead #send:wait:
VDBDebuggerApplication.st
VDBDebuggerConsoleApplication.st
--- a/VDBDebuggerApplication.st	Mon Mar 02 07:12:38 2015 +0000
+++ b/VDBDebuggerApplication.st	Sun Mar 08 15:50:52 2015 +0000
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "{ Package: 'jv:vdb' }"
 
 "{ NameSpace: Smalltalk }"
@@ -610,8 +612,12 @@
 
     frame := selectedFrameHolder value.
     frame notNil ifTrue:[ 
-        debugger send: (GDBMI_thread_select  new arguments:(Array with: frame thread id)) wait: false.  
-        debugger send: (GDBMI_stack_select_frame  new arguments:(Array with: frame level)) wait: false.  
+        debugger 
+              send:(GDBMI_thread_select new arguments:(Array with:frame thread id))
+              andWait:false.  
+        debugger 
+              send:(GDBMI_stack_select_frame new arguments:(Array with:frame level))
+              andWait:false.  
     ].
 
     "Created: / 27-02-2015 / 13:24:16 / Jan Vrany <jan.vrany@fit.cvut.cz>"
@@ -662,9 +668,10 @@
     file := Dialog requestFileName:'Selected executable to debug' pattern:'*'.
     file isNil ifTrue:[ ^ self ].
     file := file asFilename.
-    debugger send: (GDBMI_file_exec_and_symbols arguments: { file asString }) wait: false.
+    debugger send:(GDBMI_file_exec_and_symbols arguments:{ file asString }) andWait:false.
 
     "Modified: / 12-06-2014 / 01:12:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified (format): / 08-03-2015 / 15:49:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 !
 
 doQuit
--- a/VDBDebuggerConsoleApplication.st	Mon Mar 02 07:12:38 2015 +0000
+++ b/VDBDebuggerConsoleApplication.st	Sun Mar 08 15:50:52 2015 +0000
@@ -157,7 +157,7 @@
                         cmd runOnBackground: true.  
                     ].
                     outstandingCommand := cmd.
-                    debugger send: cmd wait: false. 
+                    debugger send:cmd andWait:false. 
                     outstandingCommandBlocker wait.
                 ] loop. 
             ] newProcess.