From 3cb2ab1a46e0764d4bf712f22c66c64c02dffb64 Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Fri, 15 Mar 2013 17:53:44 +0000 Subject: gdb: 2013-03-15 Steve Ellcey * remote-sim.c (sim_command_completer): Make char arguments const. include: 2013-03-15 Steve Ellcey * gdb/remote-sim.h (sim_command_completer): Make char arguments const. sim: 2013-03-15 Steve Ellcey * 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. --- sim/rl78/gdb-if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/rl78') diff --git a/sim/rl78/gdb-if.c b/sim/rl78/gdb-if.c index 0c131a1..04d4f0e 100644 --- a/sim/rl78/gdb-if.c +++ b/sim/rl78/gdb-if.c @@ -567,7 +567,7 @@ sim_do_command (SIM_DESC sd, char *cmd) /* Stub for command completion. */ char ** -sim_complete_command (SIM_DESC sd, char *text, char *word) +sim_complete_command (SIM_DESC sd, const char *text, const char *word) { return NULL; } -- cgit v1.1