[RFA,13/67] Constify maintenance_print_user_registers

Message ID 20170921051023.19023-14-tom@tromey.com
State New, archived
Headers

Commit Message

Tom Tromey Sept. 21, 2017, 5:09 a.m. UTC
  ChangeLog
2017-09-20  Tom Tromey  <tom@tromey.com>

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

Patch

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;