Constify maintenance_print_reggroups
authorTom Tromey <tom@tromey.com>
Wed, 13 Sep 2017 03:13:51 +0000 (21:13 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:58 +0000 (08:44 -0600)
gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* reggroups.c (maintenance_print_reggroups): Constify.

gdb/ChangeLog
gdb/reggroups.c

index 8aa6b13c3f17a2a2a8a3abe8f34ed6dcbffb65a3..32d1ee2c41870fc50fcecb1f0d0e234cf8b8dbee 100644 (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.
index 512fe11b11465828d551e8febce2f4bd2cb01090..2ecd0b494f7086eb98fcdb921157b669f2ff779a 100644 (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 ();