(GDB/MI Variable Objects): Describe -c option

of -var-delete.
This commit is contained in:
Nick Roberts 2006-12-04 03:53:19 +00:00
parent 9f470e6e42
commit 22d8a47037
1 changed files with 3 additions and 2 deletions

View 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.