diff options
author | Yao Qi <yao@codesourcery.com> | 2013-08-08 03:48:35 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-08-08 03:48:35 +0000 |
commit | 5c4aa40b937c4cb7eeafdc88b7f11e16b3caf503 (patch) | |
tree | a8419a28947cdbba32c9694b1f87aac8bf52d68b /gdb | |
parent | 317cc67d7529f24f8e384036d2269ff5f3d331fd (diff) | |
download | gdb-5c4aa40b937c4cb7eeafdc88b7f11e16b3caf503.zip gdb-5c4aa40b937c4cb7eeafdc88b7f11e16b3caf503.tar.gz gdb-5c4aa40b937c4cb7eeafdc88b7f11e16b3caf503.tar.bz2 |
gdb/
* mi/mi-cmd-stack.c: Update comments to function
list_args_or_locals.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/mi/mi-cmd-stack.c | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5920ef7..2bc0dc9 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-08-08 Yao Qi <yao@codesourcery.com> + + * mi/mi-cmd-stack.c: Update comments to function + list_args_or_locals. + 2013-08-07 Tom Tromey <tromey@redhat.com> PR symtab/15028: diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index 70ff0b6..9294e46 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, |