constify do_set_command and do_show_command
authorTom Tromey <tromey@redhat.com>
Fri, 27 Dec 2013 05:31:32 +0000 (22:31 -0700)
committerTom Tromey <tromey@redhat.com>
Thu, 26 Jun 2014 15:14:17 +0000 (09:14 -0600)
commit069003265c89fab0c46c5a831c2beeec4bcfb501
tree68608cf08b474766422a012c8221a1d7add7af4e
parentc2bcbb1d04bb46a130f2c84de05cbbdccc0645fc
constify do_set_command and do_show_command

This changes do_set_command and do_show_command to take const
arguments.

2014-06-26  Tom Tromey  <tromey@redhat.com>

* cli/cli-setshow.c (do_set_command): Make "arg" const.
(do_show_command): Make "arg" const.
* cli/cli-setshow.h (do_set_command, do_show_command): Update.
gdb/ChangeLog
gdb/cli/cli-setshow.c
gdb/cli/cli-setshow.h