diff options
Diffstat (limited to 'gdb/varobj.c')
-rw-r--r-- | gdb/varobj.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/varobj.c b/gdb/varobj.c index 6265b2f..37a522b 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -597,10 +597,9 @@ varobj_get_frozen (const struct varobj *var) return var->frozen; } -/* A helper function that restricts a range to what is actually - available in a VEC. This follows the usual rules for the meaning - of FROM and TO -- if either is negative, the entire range is - used. */ +/* A helper function that updates the contents of FROM and TO based on the + size of the vector CHILDREN. If the contents of either FROM or TO are + negative the entire range is used. */ void varobj_restrict_range (const std::vector<varobj *> &children, |