[RFA 13/67] Constify maintenance_print_user_registers
Tom Tromey
tom@tromey.com
Thu Sep 21 05:17:00 GMT 2017
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(-)
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
More information about the Gdb-patches
mailing list