X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Fmemory-map.h;h=5be4eed2970b0eef0f1824b492d5b900eea90e1a;hb=206977b2edecbe086beb23a32c9c114e2d5af28d;hp=fcde0d428fb8069abd9785bdfcb63ceb19765842;hpb=0b30217134add051e159a192066a1e568ebd837f;p=binutils-gdb.git diff --git a/gdb/memory-map.h b/gdb/memory-map.h index fcde0d428fb..5be4eed2970 100644 --- a/gdb/memory-map.h +++ b/gdb/memory-map.h @@ -1,6 +1,6 @@ /* Routines for handling XML memory maps provided by target. - Copyright (C) 2006-2012 Free Software Foundation, Inc. + Copyright (C) 2006-2022 Free Software Foundation, Inc. This file is part of GDB. @@ -25,8 +25,7 @@ /* Parses XML memory map passed as argument and returns the memory regions it describes. On any error, emits error message and - returns 0. Does not throw. Ownership of result is passed to the - caller. */ -VEC(mem_region_s) *parse_memory_map (const char *memory_map); + return an empty vector. Does not throw. */ +std::vector parse_memory_map (const char *memory_map); #endif