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/memrange.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/memrange.c')
-rw-r--r-- | gdb/memrange.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/memrange.c b/gdb/memrange.c index 0f99981..0c4b415 100644 --- a/gdb/memrange.c +++ b/gdb/memrange.c @@ -44,10 +44,6 @@ address_in_mem_range (CORE_ADDR address, const struct mem_range *r) void normalize_mem_ranges (std::vector<mem_range> *memory) { - /* This function must not use any VEC operation on RANGES that - reallocates the memory block as that invalidates the RANGES - pointer, which callers expect to remain valid. */ - if (!memory->empty ()) { std::vector<mem_range> &m = *memory; |