(GDB/MI Variable Objects): Describe -c option
authorNick Roberts <nickrob@snap.net.nz>
Mon, 4 Dec 2006 03:53:19 +0000 (03:53 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Mon, 4 Dec 2006 03:53:19 +0000 (03:53 +0000)
of -var-delete.

gdb/doc/gdb.texinfo

index 82571b6c9728a330428aa4950a8d077175d9eb46..1fe45614ea6c3707a33741439186b832491e9adf 100644 (file)
@@ -19598,7 +19598,7 @@ access this functionality:
 @item @code{-var-create}
 @tab create a variable object
 @item @code{-var-delete}
-@tab delete the variable object and its children
+@tab delete the variable object and/or its children
 @item @code{-var-set-format}
 @tab set the display format of this variable
 @item @code{-var-show-format}
@@ -19681,10 +19681,11 @@ the @value{GDBN} CLI:
 @subsubheading Synopsis
 
 @smallexample
- -var-delete @var{name}
+ -var-delete [ -c ] @var{name}
 @end smallexample
 
 Deletes a previously created variable object and all of its children.
+With the @samp{-c} option, just deletes the children.
 
 Returns an error if the object @var{name} is not found.
 
This page took 0.041186 seconds and 4 git commands to generate.