[RFA 55/67] Constify maintenance_info_program_spaces_command
Tom Tromey
tom@tromey.com
Thu Sep 21 05:40:00 GMT 2017
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* 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/progspace.c b/gdb/progspace.c
index 0f3ac81..41e8cd0 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.9.4
More information about the Gdb-patches
mailing list