summaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorqiyao <qiyao>2013-08-08 03:48:33 +0000
committerqiyao <qiyao>2013-08-08 03:48:33 +0000
commitd86f9c8ccb2d91a674a57c1a4259a69e8269fa16 (patch)
treef6b6de92373f5409d37c550d63c427fdc065ce89 /gdb/mi
parenta0713a1a921ef4c75ee5dda9772ba88fd0f8ee76 (diff)
downloadgdb-d86f9c8ccb2d91a674a57c1a4259a69e8269fa16.tar.gz
gdb/
* mi/mi-cmd-stack.c: Update comments to function list_args_or_locals.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-cmd-stack.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c
index 70ff0b601a6..9294e4609e3 100644
--- a/gdb/mi/mi-cmd-stack.c
+++ b/gdb/mi/mi-cmd-stack.c
@@ -502,10 +502,9 @@ list_arg_or_local (const struct frame_arg *arg, enum what_to_list what,
do_cleanups (old_chain);
}
-/* Print a list of the locals or the arguments for the currently
- selected frame. If the argument passed is 0, printonly the names
- of the variables, if an argument of 1 is passed, print the values
- as well. */
+/* Print a list of the objects for the frame FI in a certain form,
+ which is determined by VALUES. The objects can be locals,
+ arguments or both, which is determined by WHAT. */
static void
list_args_or_locals (enum what_to_list what, enum print_values values,