Constify maintenance_print_user_registers

gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

	* user-regs.c (maintenance_print_user_registers): Constify.
This commit is contained in:
Tom Tromey
2017-09-09 21:24:08 -06:00
parent 32a7bf17c9
commit 4d4589ef76
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -1,3 +1,7 @@
2017-09-27 Tom Tromey <tom@tromey.com>
* user-regs.c (maintenance_print_user_registers): Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
* cp-namespace.c (maintenance_cplus_namespace): Constify.
+1 -1
View File
@@ -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;