From 9c504b5d34803ca2520e554aceaa2e69c141dc89 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 12 Sep 2017 21:15:46 -0600 Subject: [PATCH] Constify maintenance_info_program_spaces_command gdb/ChangeLog 2017-09-27 Tom Tromey * progspace.c (maintenance_info_program_spaces_command): Constify. --- gdb/ChangeLog | 5 +++++ gdb/progspace.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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; -- 2.30.2