diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9a77b0ddbc..a32596e9fd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-09-27 Tom Tromey + + * progspace.c (maintenance_info_program_spaces_command): + Constify. + 2017-09-27 Tom Tromey * compile/compile.c (check_raw_argument, compile_file_command) diff --git a/gdb/progspace.c b/gdb/progspace.c index 0f3ac81bd0..41e8cd0e71 100644 --- a/gdb/progspace.c +++ b/gdb/progspace.c @@ -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;