From: Tom Tromey Date: Wed, 13 Sep 2017 03:15:46 +0000 (-0600) Subject: Constify maintenance_info_program_spaces_command X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c504b5d34803ca2520e554aceaa2e69c141dc89;p=binutils-gdb.git Constify maintenance_info_program_spaces_command gdb/ChangeLog 2017-09-27 Tom Tromey * progspace.c (maintenance_info_program_spaces_command): Constify. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9a77b0ddbc3..a32596e9fd6 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 0f3ac81bd01..41e8cd0e714 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;