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 9a77b0ddbc3c48241e6392cfc548ef7c8d9bd7d5..a32596e9fd68f188588c55435a17b3b69a548da0 100644 (file)
@@ -1,3 +1,8 @@
+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)
index 0f3ac81bd016f1b1d8735f3422dc0f48a8ed5c23..41e8cd0e714eb54186d94ba5d4ff65d179f4fe52 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;