diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6317f3ed26..b55230788a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2017-09-27 Tom Tromey + + * tui/tui-regs.c (tui_reg_command): Constify. + 2017-09-27 Tom Tromey * skip.c (skip_file_command, skip_function_command) diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c index 838172e823..be735b368a 100644 --- a/gdb/tui/tui-regs.c +++ b/gdb/tui/tui-regs.c @@ -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 ();