This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 06/67] Constify dump_arc_instruction_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:22 -0600
- Subject: [RFA 06/67] Constify dump_arc_instruction_command
- Authentication-results: sourceware.org; auth=none
- References: <20170921051023.19023-1-tom@tromey.com>
ChangeLog
2017-09-20 Tom Tromey <tom@tromey.com>
* arc-tdep.c (dump_arc_instruction_command): Constify.
---
gdb/ChangeLog | 4 ++++
gdb/arc-tdep.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/gdb/arc-tdep.c b/gdb/arc-tdep.c
index 31c7b56..1d05c5a 100644
--- a/gdb/arc-tdep.c
+++ b/gdb/arc-tdep.c
@@ -2119,7 +2119,7 @@ maintenance_print_arc_command (char *args, int from_tty)
disassemble. */
static void
-dump_arc_instruction_command (char *args, int from_tty)
+dump_arc_instruction_command (const char *args, int from_tty)
{
struct value *val;
if (args != NULL && strlen (args) > 0)
--
2.9.4