aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2017-09-09 20:59:14 -0600
committerTom Tromey <tom@tromey.com>2017-09-27 08:44:18 -0600
commit57f5a81bd240459edbdac1628800291e7535ed02 (patch)
tree8730c94abb47f8454d513ec50dd07ce59c43a87e
parentb0a8e6c4431a2e762dac88f3d73efca4bc47c90a (diff)
downloadfsf-binutils-gdb-57f5a81bd240459edbdac1628800291e7535ed02.zip
fsf-binutils-gdb-57f5a81bd240459edbdac1628800291e7535ed02.tar.gz
fsf-binutils-gdb-57f5a81bd240459edbdac1628800291e7535ed02.tar.bz2
Constify dump_arc_instruction_command
gdb/ChangeLog 2017-09-27 Tom Tromey <tom@tromey.com> * arc-tdep.c (dump_arc_instruction_command): Constify.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/arc-tdep.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fa84567..11c20d8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2017-09-27 Tom Tromey <tom@tromey.com>
+ * arc-tdep.c (dump_arc_instruction_command): Constify.
+
+2017-09-27 Tom Tromey <tom@tromey.com>
+
* valprint.c (set_radix, show_radix): Constify.
2017-09-27 Tom Tromey <tom@tromey.com>
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)