Constify maintenance_print_reggroups

gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

	* reggroups.c (maintenance_print_reggroups): Constify.
This commit is contained in:
Tom Tromey 2017-09-12 21:13:51 -06:00
parent 8384c35618
commit 34e5fa26b7
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-09-27 Tom Tromey <tom@tromey.com>
* reggroups.c (maintenance_print_reggroups): Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
* dwarf2read.c (save_gdb_index_command): Constify.

View File

@ -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 ();