diff options
author | Simon Marchi <simon.marchi@ericsson.com> | 2015-01-30 15:16:43 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@ericsson.com> | 2015-01-30 15:16:43 -0500 |
commit | 6da58d3e02f50801176cfdb9006d843b5f6ab2d4 (patch) | |
tree | 7013817bfa249e7a6c8b85e77015c10209ff21fa /gdb/varobj.c | |
parent | 837ce2523fb0b81a8548624d204c857438c647ec (diff) | |
download | gdb-6da58d3e02f50801176cfdb9006d843b5f6ab2d4.zip gdb-6da58d3e02f50801176cfdb9006d843b5f6ab2d4.tar.gz gdb-6da58d3e02f50801176cfdb9006d843b5f6ab2d4.tar.bz2 |
Fix varobj_delete comment
gdb/ChangeLog:
* varobj.c (varobj_delete): Fix comment.
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r-- | gdb/varobj.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c index 76bf495..268ba3c 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -502,9 +502,10 @@ varobj_get_expression (const struct varobj *var) } /* Deletes a varobj and all its children if only_children == 0, - otherwise deletes only the children; returns a malloc'ed list of - all the (malloc'ed) names of the variables that have been deleted - (NULL terminated). */ + otherwise deletes only the children. If DELLIST is non-NULL, it is + assigned a malloc'ed list of all the (malloc'ed) names of the variables + that have been deleted (NULL terminated). Returns the number of deleted + variables. */ int varobj_delete (struct varobj *var, char ***dellist, int only_children) |