Constify maintenance_print_user_registers
authorTom Tromey <tom@tromey.com>
Sun, 10 Sep 2017 03:24:08 +0000 (21:24 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:24 +0000 (08:44 -0600)
gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* user-regs.c (maintenance_print_user_registers): Constify.

gdb/ChangeLog
gdb/user-regs.c

index 4dbe3ed79c36fb1de73487aed6da5c540168e715..f58329790b2cb435b0a28eb5c415f50548063aa4 100644 (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.
index 121c69ffd73be1355ce9f053aebadb81e4b7eb86..a5388d1ceb4d8bb3e91d6ead377f49b040bbb9ef 100644 (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;
This page took 0.031173 seconds and 4 git commands to generate.