diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-10-07 16:45:24 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-10-15 21:32:28 +0100 |
commit | 791b7405f4627ad65fd636d57adb9e5749d0b9e7 (patch) | |
tree | af7b601346c39181f5090ea6086a8728be999806 /gdb/varobj.c | |
parent | 0dc327459b19e6765c8fe80957f5c8620611628e (diff) | |
download | gdb-791b7405f4627ad65fd636d57adb9e5749d0b9e7.zip gdb-791b7405f4627ad65fd636d57adb9e5749d0b9e7.tar.gz gdb-791b7405f4627ad65fd636d57adb9e5749d0b9e7.tar.bz2 |
gdb: Update comments that reference VEC or vec.h
With the removal of the old VEC mechanism from the code base, update
comments that still make reference to VECs. There should be no user
visible changes after this commit.
gdb/ChangeLog:
* linespec.c (decode_digits_ordinary): Update comment.
* make-target-delegates: No longer need to handle VEC case.
* memrange.c (normalize_mem_ranges): Update comment.
* namespace.c (add_using_directive): Update comment.
* objc-lang.c (uniquify_strings): Update comment.
* ppc-linux-nat.c (struct thread_points): Update comment.
* probe.h (find_probes_in_objfile): Update comment.
* target.h (enum flash_preserve_mode): Update comment.
* varobj.c (varobj_restrict_range): Update comment.
* varobj.h (varobj_list_children): Update comment.
Change-Id: Iefd2e903705c3e79cd13b43395c7a1c167f9a088
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, |