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 6317f3e..b552307 100644 (file)
@@ -1,5 +1,9 @@
 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)
        (skip_enable_command, skip_disable_command, skip_delete_command):
        Constify.
index 838172e..be735b3 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 ();