GDBMI_var_assign.st
changeset 12 568a2971c977
child 78 c24e7d8bc881
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GDBMI_var_assign.st	Thu Jun 12 01:21:45 2014 +0100
@@ -0,0 +1,47 @@
+"{ Package: 'jv:libgdbs' }"
+
+GDBMICommand subclass:#GDBMI_var_assign
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'GDB-Core-Commands-MI'
+!
+
+!GDBMI_var_assign class methodsFor:'documentation'!
+
+documentation
+"
+The `-var-assign' Command
+-------------------------
+
+Synopsis
+........
+
+      -var-assign NAME EXPRESSION
+
+   Assigns the value of EXPRESSION to the variable object specified by
+NAME.  The object must be `editable'.  If the variable's value is
+altered by the assign, the variable will show up in any subsequent
+`-var-update' list.
+
+Example
+.......
+
+     (gdb)
+     -var-assign var1 3
+     ^done,value='3'
+     (gdb)
+     -var-update *
+     ^done,changelist=[{name='var1',in_scope='true',type_changed='false'}]
+     (gdb)
+
+
+"
+! !
+
+!GDBMI_var_assign methodsFor:'accessing'!
+
+operation
+	^ 'var-assign'
+! !
+