This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 30/67] Constify tui_reg_command
- 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:09:46 -0600
- Subject: [RFA 30/67] Constify tui_reg_command
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* tui/tui-regs.c (tui_reg_command): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/tui/tui-regs.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/tui/tui-regs.c b/gdb/tui/tui-regs.c
index 838172e..be735b3 100644
--- a/gdb/tui/tui-regs.c
+++ b/gdb/tui/tui-regs.c
@@ -600,7 +600,7 @@ tui_reg_prev (struct gdbarch *gdbarch)
not already on display. */
static void
-tui_reg_command (char *args, int from_tty)
+tui_reg_command (const char *args, int from_tty)
{
struct gdbarch *gdbarch = get_current_arch ();
--
2.9.4