[RFA 13/67] Constify maintenance_print_user_registers

Tom Tromey
2017-09-21T05:13:31Z

* user-regs.c (maintenance_print_user_registers): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/user-regs.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/gdb/user-regs.c b/gdb/user-regs.c
index 121c69f..a5388d1 100644
--- a/gdb/user-regs.c
+++ b/gdb/user-regs.c
@@ -222,7 +222,7 @@ value_of_user_reg (int regnum, struct frame_info *frame)
}

static void
-maintenance_print_user_registers (char *args, int from_tty)
+maintenance_print_user_registers (const char *args, int from_tty)
{
struct gdbarch *gdbarch = get_current_arch ();
struct gdb_user_regs *regs;
--
2.9.4