summaryrefslogtreecommitdiff
path: root/gdb/linespec.c
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-10-07 16:45:24 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2019-10-15 21:32:28 +0100
commit791b7405f4627ad65fd636d57adb9e5749d0b9e7 (patch)
treeaf7b601346c39181f5090ea6086a8728be999806 /gdb/linespec.c
parent0dc327459b19e6765c8fe80957f5c8620611628e (diff)
downloadbinutils-gdb-791b7405f4627ad65fd636d57adb9e5749d0b9e7.tar.gz
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/linespec.c')
-rw-r--r--gdb/linespec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c
index ac7d34dfe96..fb6b04e22b0 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -4109,8 +4109,9 @@ decode_digits_list_mode (struct linespec_state *self,
return values;
}
-/* A helper for create_sals_line_offset that iterates over the symtabs,
- adding lines to the VEC. */
+/* A helper for create_sals_line_offset that iterates over the symtabs
+ associated with LS and returns a vector of corresponding symtab_and_line
+ structures. */
static std::vector<symtab_and_line>
decode_digits_ordinary (struct linespec_state *self,