aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-09 21:24:08 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:24 -0600
commit4d4589ef76b975eead8da6bfa65db4a9dc85089a (patch)
tree836ab1123e97fb78f10bf6986b0ad415b83ae89c /gdb
parent32a7bf17c94a81c08535ea045f43fe8c8271d3fd (diff)
downloadbinutils-4d4589ef76b975eead8da6bfa65db4a9dc85089a.zip
binutils-4d4589ef76b975eead8da6bfa65db4a9dc85089a.tar.gz
binutils-4d4589ef76b975eead8da6bfa65db4a9dc85089a.tar.bz2
Constify maintenance_print_user_registers
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * user-regs.c (maintenance_print_user_registers): Constify.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/user-regs.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4dbe3ed7..f583297 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
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.
2017-09-27 Tom Tromey <tom@tromey.com>
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;