From 3afae151a352d158bf5e5b8b544e26953f8e9353 Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Sun, 1 Nov 2009 19:54:24 +0000 Subject: [PATCH] * gdb.texinfo (GDB/MI Stack Manipulation): Make -stack-list-arguments have the same documentation for parameter as -stack-list-locals. Add comas. --- gdb/doc/ChangeLog | 6 ++++++ gdb/doc/gdb.texinfo | 14 ++++++++------ 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index ce99840..d9b5b97 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,9 @@ +2009-11-01 Vladimir Prus + + * gdb.texinfo (GDB/MI Stack Manipulation): Make + -stack-list-arguments have the same documentation for parameter + as -stack-list-locals. Add comas. + 2009-10-27 Tom Tromey Eli Zaretskii diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index aa28bc3..2453d3a 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -23420,7 +23420,7 @@ For a stack with frame levels 0 through 11: @subsubheading Synopsis @smallexample - -stack-list-arguments @var{show-values} + -stack-list-arguments @var{print-values} [ @var{low-frame} @var{high-frame} ] @end smallexample @@ -23433,9 +23433,11 @@ larger than the actual number of frames. On the other hand, @var{high-frame} may be larger than the actual number of frames, in which case only existing frames will be returned. -The @var{show-values} argument must have a value of 0 or 1. A value of -0 means that only the names of the arguments are listed, a value of 1 -means that both names and values of the arguments are printed. +If @var{print-values} is 0 or @code{--no-values}, print only the names of +the variables; if it is 1 or @code{--all-values}, print also their +values; and if it is 2 or @code{--simple-values}, print the name, +type and value for simple data types, and the name and type for arrays, +structures and unions. Use of this command to obtain arguments in a single frame is deprecated in favor of the @samp{-stack-list-variables} command. @@ -23618,7 +23620,7 @@ Display the local variable names for the selected frame. If @var{print-values} is 0 or @code{--no-values}, print only the names of the variables; if it is 1 or @code{--all-values}, print also their values; and if it is 2 or @code{--simple-values}, print the name, -type and value for simple data types and the name and type for arrays, +type and value for simple data types, and the name and type for arrays, structures and unions. In this last case, a frontend can immediately display the value of simple data types and create variable objects for other data types when the user wishes to explore their values in @@ -23660,7 +23662,7 @@ Display the names of local variables and function arguments for the selected fra @var{print-values} is 0 or @code{--no-values}, print only the names of the variables; if it is 1 or @code{--all-values}, print also their values; and if it is 2 or @code{--simple-values}, print the name, -type and value for simple data types and the name and type for arrays, +type and value for simple data types, and the name and type for arrays, structures and unions. @subsubheading Example -- 2.7.4