Constify dump_arc_instruction_command
authorTom Tromey <tom@tromey.com>
Sun, 10 Sep 2017 02:59:14 +0000 (20:59 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 27 Sep 2017 14:44:18 +0000 (08:44 -0600)
gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

* arc-tdep.c (dump_arc_instruction_command): Constify.

gdb/ChangeLog
gdb/arc-tdep.c

index fa84567..11c20d8 100644 (file)
@@ -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>
index 31c7b56..1d05c5a 100644 (file)
@@ -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)