Fix varobj_delete comment

gdb/ChangeLog:

	* varobj.c (varobj_delete): Fix comment.
This commit is contained in:
Simon Marchi 2015-01-30 15:16:43 -05:00
parent 837ce2523f
commit 6da58d3e02
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
* varobj.c (varobj_delete): Fix comment.
2015-01-30 Simon Marchi <simon.marchi@ericsson.com>
* varobj.c (create_child): Modify comment.

View File

@ -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)