From 34e5fa26b758250fca879799375f27c1fd8ed36d Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Tue, 12 Sep 2017 21:13:51 -0600 Subject: [PATCH] Constify maintenance_print_reggroups gdb/ChangeLog 2017-09-27 Tom Tromey * reggroups.c (maintenance_print_reggroups): Constify. --- gdb/ChangeLog | 4 ++++ gdb/reggroups.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8aa6b13c3f1..32d1ee2c418 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * reggroups.c (maintenance_print_reggroups): Constify. + 2017-09-27 Tom Tromey * dwarf2read.c (save_gdb_index_command): Constify. diff --git a/gdb/reggroups.c b/gdb/reggroups.c index 512fe11b114..2ecd0b494f7 100644 --- a/gdb/reggroups.c +++ b/gdb/reggroups.c @@ -262,7 +262,7 @@ reggroups_dump (struct gdbarch *gdbarch, struct ui_file *file) } static void -maintenance_print_reggroups (char *args, int from_tty) +maintenance_print_reggroups (const char *args, int from_tty) { struct gdbarch *gdbarch = get_current_arch (); -- 2.30.2