This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 53/67] Constify maintenance_print_reggroups
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Wed, 20 Sep 2017 23:10:09 -0600
- Subject: [RFA 53/67] Constify maintenance_print_reggroups
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* reggroups.c (maintenance_print_reggroups): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/reggroups.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/reggroups.c b/gdb/reggroups.c
index 512fe11..2ecd0b4 100644
--- a/gdb/reggroups.c
+++ b/gdb/reggroups.c
@@ -262,7 +262,7 @@ reggroups_dump (struct gdbarch *gdbarch, struct ui_file *file)
}
static void
-maintenance_print_reggroups (char *args, int from_tty)
+maintenance_print_reggroups (const char *args, int from_tty)
{
struct gdbarch *gdbarch = get_current_arch ();
--
2.9.4