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

* tui/tui-regs.c (tui_reg_command): Constify.

gdb/ChangeLog
gdb/tui/tui-regs.c

index 6317f3ed26c57f083772b4d1c569a864b7cb7a7b..b55230788aaa63fcb8d4c12f105520336acc38fe 100644 (file)
@@ -1,3 +1,7 @@
+2017-09-27  Tom Tromey  <tom@tromey.com>
+
+       * tui/tui-regs.c (tui_reg_command): Constify.
+
 2017-09-27  Tom Tromey  <tom@tromey.com>
 
        * skip.c (skip_file_command, skip_function_command)
index 838172e8233c5aacb7cbdc2d763b1793343575f0..be735b368a9a03fbf80254bb5539a3e948854161 100644 (file)
@@ -600,7 +600,7 @@ tui_reg_prev (struct gdbarch *gdbarch)
    not already on display.  */
 
 static void
-tui_reg_command (char *args, int from_tty)
+tui_reg_command (const char *args, int from_tty)
 {
   struct gdbarch *gdbarch = get_current_arch ();