GDBVariable.st
changeset 95 f417138e9c48
parent 91 472a4841a8b6
child 101 d8fee2af20b2
--- a/GDBVariable.st	Mon Jan 08 19:43:49 2018 +0000
+++ b/GDBVariable.st	Thu Jan 11 23:53:06 2018 +0000
@@ -97,11 +97,11 @@
         result := debugger send: (GDBMI_var_create new arguments: (Array with: '-' with: '*' with: name)).
 
         frame thread id ~= currentThreadId ifTrue:[ 
-            debugger send: (GDBMI_thread_select new arguments:currentThreadId).       
-            debugger send: (GDBMI_stack_select_frame new arguments:currentFrameId).       
+            debugger send: (GDBMI_thread_select new arguments: (Array with: currentThreadId)).       
+            debugger send: (GDBMI_stack_select_frame new arguments:(Array with: currentFrameId)).       
         ] ifFalse:[ 
             frame level ~= currentFrameId ifTrue:[ 
-                debugger send: (GDBMI_stack_select_frame new arguments:currentFrameId).       
+                debugger send: (GDBMI_stack_select_frame new arguments:(Array with: currentFrameId)).       
             ].
         ].
 
@@ -111,6 +111,7 @@
 
     "Created: / 27-02-2015 / 17:18:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 17-11-2017 / 20:19:45 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 15-01-2018 / 23:10:31 / jv"
 ! !
 
 !GDBVariable methodsFor:'initialization'!