From: Simon Marchi Date: Fri, 30 Jan 2015 20:16:43 +0000 (-0500) Subject: Fix varobj_delete comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6da58d3e02f50801176cfdb9006d843b5f6ab2d4;p=binutils-gdb.git Fix varobj_delete comment gdb/ChangeLog: * varobj.c (varobj_delete): Fix comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bdf9fccea0d..71ed80cf535 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-01-30 Simon Marchi + + * varobj.c (varobj_delete): Fix comment. + 2015-01-30 Simon Marchi * varobj.c (create_child): Modify comment. diff --git a/gdb/varobj.c b/gdb/varobj.c index 76bf495cf00..268ba3c85d2 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)