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:
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user