Update copyright year range in all GDB files
[deliverable/binutils-gdb.git] / gdb / unittests / memory-map-selftests.c
index 061e0914a6e3872f6e1af2769dc63bdd37bab240..68ef93103cdd515ed6d2c40818940d9813a8ff2e 100644 (file)
@@ -1,6 +1,6 @@
 /* Self tests for memory-map for GDB, the GNU debugger.
 
-   Copyright (C) 2017-2018 Free Software Foundation, Inc.
+   Copyright (C) 2017-2021 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -18,7 +18,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "defs.h"
-#include "selftest.h"
+#include "gdbsupport/selftest.h"
 #include "memory-map.h"
 
 #if defined(HAVE_LIBEXPAT)
@@ -28,10 +28,10 @@ namespace memory_map_tests {
 
 /* A simple valid test input for parse_memory_map.  */
 
-static const char *valid_mem_map = R"(<?xml version="1.0"?>
+static const char valid_mem_map[] = R"(<?xml version="1.0"?>
 <!DOCTYPE memory-map
-          PUBLIC "+//IDN gnu.org//DTD GDB Memory Map V1.0//EN"
-                 "http://sourceware.org/gdb/gdb-memory-map.dtd">
+         PUBLIC "+//IDN gnu.org//DTD GDB Memory Map V1.0//EN"
+                "http://sourceware.org/gdb/gdb-memory-map.dtd">
 <memory-map>
   <memory type="ram" start="0" length="4096" />
   <memory type="rom" start="65536" length="256" />
@@ -76,6 +76,7 @@ parse_memory_map_tests ()
 
 #endif /* HAVE_LIBEXPAT */
 
+void _initialize_memory_map_selftests ();
 void
 _initialize_memory_map_selftests ()
 {
This page took 0.026435 seconds and 4 git commands to generate.