aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2006-12-04 03:53:19 +0000
committerNick Roberts <nickrob@snap.net.nz>2006-12-04 03:53:19 +0000
commit22d8a47037d5c80e91cbcece6db7b952986a5e34 (patch)
tree5bfbdb012ff4adc17749bf657fbe1e1bea204f83 /gdb/doc
parent9f470e6e4269d2b6783ab126914d9e54af794515 (diff)
downloadfsf-binutils-gdb-22d8a47037d5c80e91cbcece6db7b952986a5e34.zip
fsf-binutils-gdb-22d8a47037d5c80e91cbcece6db7b952986a5e34.tar.gz
fsf-binutils-gdb-22d8a47037d5c80e91cbcece6db7b952986a5e34.tar.bz2
(GDB/MI Variable Objects): Describe -c option
of -var-delete.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/gdb.texinfo5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 82571b6..1fe4561 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -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.