Split type_unit_group
[deliverable/binutils-gdb.git] / gdb / memrange.c
index 34feac53abf6906762720798e2b2470e239bc21b..77934d24ea56b92b3965821033c585049cc8978c 100644 (file)
@@ -1,6 +1,6 @@
 /* Memory ranges
 
-   Copyright (C) 2010-2017 Free Software Foundation, Inc.
+   Copyright (C) 2010-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -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;
This page took 0.023516 seconds and 4 git commands to generate.