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
This commit is contained in:
Andrew Burgess 2019-10-07 16:45:24 +01:00
parent 0dc327459b
commit 791b7405f4
11 changed files with 29 additions and 22 deletions

View file

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