Constify dump_arc_instruction_command

gdb/ChangeLog
2017-09-27  Tom Tromey  <tom@tromey.com>

	* arc-tdep.c (dump_arc_instruction_command): Constify.
This commit is contained in:
Tom Tromey 2017-09-09 20:59:14 -06:00
parent b0a8e6c443
commit 57f5a81bd2
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
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.

View 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)