aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2013-03-15 17:53:44 +0000
committerSteve Ellcey <sje@cup.hp.com>2013-03-15 17:53:44 +0000
commit3cb2ab1a46e0764d4bf712f22c66c64c02dffb64 (patch)
tree644a4bcd64730e3cd341562568d110b15d7169f1 /gdb/remote-sim.c
parent2013-03-15 Tony Theodore <tonyt@logyst.com> (diff)
downloadbinutils-gdb-3cb2ab1a46e0764d4bf712f22c66c64c02dffb64.tar.gz
binutils-gdb-3cb2ab1a46e0764d4bf712f22c66c64c02dffb64.tar.bz2
binutils-gdb-3cb2ab1a46e0764d4bf712f22c66c64c02dffb64.zip
gdb:
2013-03-15 Steve Ellcey <sellcey@mips.com> * remote-sim.c (sim_command_completer): Make char arguments const. include: 2013-03-15 Steve Ellcey <sellcey@mips.com> * gdb/remote-sim.h (sim_command_completer): Make char arguments const. sim: 2013-03-15 Steve Ellcey <sellcey@mips.com> * arm/wrapper.c (sim_complete_command): Make char arguments const. * avr/interp.c (sim_complete_command): Ditto. * common/sim-options.c (sim_complete_command): Ditto. * cr16/interp.c (sim_complete_command): Ditto. * erc32/interf.c (sim_complete_command): Ditto. * m32c/gdb-if.c (sim_complete_command): Ditto. * microblaze/interp.c (sim_complete_command): Ditto. * ppc/sim_calls.c (sim_complete_command): Ditto. * rl78/gdb-if.c (sim_complete_command): Ditto. * rx/gdb-if.c (sim_complete_command): Ditto. * sh/interp.c (sim_complete_command): Ditto.
Diffstat (limited to 'gdb/remote-sim.c')
-rw-r--r--gdb/remote-sim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 860eaf33adf..a578bbc0740 100644
--- a/gdb/remote-sim.c
+++ b/gdb/remote-sim.c
@@ -1196,7 +1196,8 @@ simulator_command (char *args, int from_tty)
}
static VEC (char_ptr) *
-sim_command_completer (struct cmd_list_element *ignore, char *text, char *word)
+sim_command_completer (struct cmd_list_element *ignore, const char *text,
+ const char *word)
{
struct sim_inferior_data *sim_data;
char **tmp;