Constify maintenance_info_program_spaces_command
authorTom Tromey <tom@tromey.com>
Wed, 13 Sep 2017 03:15:46 +0000 (21:15 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:45:00 +0000 (08:45 -0600)
gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* progspace.c (maintenance_info_program_spaces_command):
Constify.

gdb/ChangeLog
gdb/progspace.c

index 9a77b0d..a32596e 100644 (file)
@@ -1,5 +1,10 @@
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
+       * progspace.c (maintenance_info_program_spaces_command):
+       Constify.
+
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
        * compile/compile.c (check_raw_argument, compile_file_command)
        (compile_code_command, compile_print_command): Constify.
 
index 0f3ac81..41e8cd0 100644 (file)
@@ -345,7 +345,7 @@ valid_program_space_id (int num)
    indicating which the program space to print information about.  */
 
 static void
-maintenance_info_program_spaces_command (char *args, int from_tty)
+maintenance_info_program_spaces_command (const char *args, int from_tty)
 {
   int requested = -1;