GDBMI_var_evaluate_expression.st
changeset 12 568a2971c977
child 78 c24e7d8bc881
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GDBMI_var_evaluate_expression.st	Thu Jun 12 01:21:45 2014 +0100
@@ -0,0 +1,44 @@
+"{ Package: 'jv:libgdbs' }"
+
+GDBMICommand subclass:#GDBMI_var_evaluate_expression
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'GDB-Core-Commands-MI'
+!
+
+!GDBMI_var_evaluate_expression class methodsFor:'documentation'!
+
+documentation
+"
+The `-var-evaluate-expression' Command
+--------------------------------------
+
+Synopsis
+........
+
+      -var-evaluate-expression [-f FORMAT-SPEC] NAME
+
+   Evaluates the expression that is represented by the specified
+variable object and returns its value as a string.  The format of the
+string can be specified with the `-f' option.  The possible values of
+this option are the same as for `-var-set-format' (*note
+-var-set-format::).  If the `-f' option is not specified, the current
+display format will be used.  The current display format can be changed
+using the `-var-set-format' command.
+
+      value=VALUE
+
+   Note that one must invoke `-var-list-children' for a variable before
+the value of a child variable can be evaluated.
+
+
+"
+! !
+
+!GDBMI_var_evaluate_expression methodsFor:'accessing'!
+
+operation
+	^ 'var-evaluate-expression'
+! !
+