GDBMI_stack_list_variables.st
changeset 12 568a2971c977
child 55 437ee6413c74
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GDBMI_stack_list_variables.st	Thu Jun 12 01:21:45 2014 +0100
@@ -0,0 +1,51 @@
+"{ Package: 'jv:libgdbs' }"
+
+GDBMICommand subclass:#GDBMI_stack_list_variables
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'GDB-Core-Commands-MI'
+!
+
+!GDBMI_stack_list_variables class methodsFor:'documentation'!
+
+documentation
+"
+The `-stack-list-variables' Command
+-----------------------------------
+
+Synopsis
+........
+
+      -stack-list-variables [ --no-frame-filters ] [ --skip-unavailable ] PRINT-VALUES
+
+   Display the names of local variables and function arguments for the
+selected frame.  If PRINT-VALUES is 0 or `--no-values', print only the
+names of the variables; if it is 1 or `--all-values', print also their
+values; and if it is 2 or `--simple-values', print the name, type and
+value for simple data types, and the name and type for arrays,
+structures and unions.  If the option `--no-frame-filters' is supplied,
+then Python frame filters will not be executed.
+
+   If the `--skip-unavailable' option is specified, local variables and
+arguments that are not available are not listed.  Partially available
+arguments and local variables are still displayed, however.
+
+Example
+.......
+
+     (gdb)
+     -stack-list-variables --thread 1 --frame 0 --all-values
+     ^done,variables=[{name='x',value='11'},{name='s',value='{a = 1, b = 2}'}]
+     (gdb)
+
+
+"
+! !
+
+!GDBMI_stack_list_variables methodsFor:'accessing'!
+
+operation
+	^ 'stack-list-variables'
+! !
+