sim: constify arg to sim_do_command
authorMike Frysinger <vapier@gentoo.org>
Thu, 20 Feb 2014 05:28:17 +0000 (00:28 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 11 Mar 2014 02:57:29 +0000 (22:57 -0400)
commit60d847df0b9691b7cb38bfba41b9d6aafd97efc2
treea2fa4e54d1c4bc8a82cdc5fbd65f5958875356cf
parent61d1ce24e894c08a701efc5794012161ef101a60
sim: constify arg to sim_do_command

It is rare for people to want to modify the cmd arg.  In general, they
really shouldn't be, but a few still do.  For those who misbehave, dupe
the string locally so they can bang on it.
32 files changed:
include/gdb/ChangeLog
include/gdb/remote-sim.h
sim/arm/ChangeLog
sim/arm/wrapper.c
sim/avr/ChangeLog
sim/avr/interp.c
sim/common/ChangeLog
sim/common/sim-command.c
sim/common/sim-options.c
sim/common/sim-options.h
sim/cr16/ChangeLog
sim/cr16/interp.c
sim/d10v/ChangeLog
sim/d10v/interp.c
sim/erc32/ChangeLog
sim/erc32/interf.c
sim/m32c/ChangeLog
sim/m32c/gdb-if.c
sim/mcore/ChangeLog
sim/mcore/interp.c
sim/microblaze/ChangeLog
sim/microblaze/interp.c
sim/moxie/ChangeLog
sim/moxie/interp.c
sim/ppc/ChangeLog
sim/ppc/sim_calls.c
sim/rl78/ChangeLog
sim/rl78/gdb-if.c
sim/rx/ChangeLog
sim/rx/gdb-if.c
sim/sh/ChangeLog
sim/sh/interp.c