Get rid of VEC (mem_region)
[deliverable/binutils-gdb.git] / gdb / remote.c
index 9ee46450d8cc9fa7bbebd7f2da87187a43649c36..61f71698bafd0a6cba7f4454d7d7fdbc95562c07 100644 (file)
@@ -10888,10 +10888,10 @@ remote_rcmd (struct target_ops *self, const char *command,
     }
 }
 
-static VEC(mem_region_s) *
+static std::vector<mem_region>
 remote_memory_map (struct target_ops *ops)
 {
-  VEC(mem_region_s) *result = NULL;
+  std::vector<mem_region> result;
   gdb::unique_xmalloc_ptr<char> text
     = target_read_stralloc (&current_target, TARGET_OBJECT_MEMORY_MAP, NULL);
 
This page took 0.023879 seconds and 4 git commands to generate.