This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Update comments to list_args_or_locals.


>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> 2013-08-05  Yao Qi  <yao@codesourcery.com>
Yao> 	* mi/mi-cmd-stack.c: Update comments to function
Yao> 	list_args_or_locals.

Yao> -/* Print a list of the locals or the arguments for the currently
Yao> -   selected frame.  If the argument passed is 0, printonly the names
Yao> -   of the variables, if an argument of 1 is passed, print the values
Yao> -   as well.  */
Yao> +/* Print a list of the objects for the currently selected frame FI in
Yao> +   a certain form, which is determined by VALUES.  The objects can be
Yao> +   locals, arguments or both, which is determined by WHAT.  */

I think the bit about "currently selected frame FI" is odd.  Usually
"currently selected frame" refers to the one the user chose with "up" or
"down".

Otherwise it seems fine to me.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]