make_cleanup_restore_current_thread: Look up thread earlier
[deliverable/binutils-gdb.git] / gdb / memattr.c
index 1c5c48f65900b81ed28a9a7f18b7a19d8b374251..2493537fe0af25257544af1210e78970dfebf325 100644 (file)
@@ -1,6 +1,6 @@
 /* Memory attributes support, for GDB.
 
-   Copyright (C) 2001-2016 Free Software Foundation, Inc.
+   Copyright (C) 2001-2017 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -441,7 +441,7 @@ mem_info_command (char *args, int from_tty)
 
   for (ix = 0; VEC_iterate (mem_region_s, mem_region_list, ix, m); ix++)
     {
-      char *tmp;
+      const char *tmp;
 
       printf_filtered ("%-3d %-3c\t",
                       m->number,
This page took 0.051947 seconds and 4 git commands to generate.