diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog index d9618014a..142f87ae3 100644 --- a/include/gdb/ChangeLog +++ b/include/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-03-15 Steve Ellcey + + * gdb/remote-sim.h (sim_command_completer): Make char arguments const. + 2013-01-01 Joel Brobecker Update year range in copyright notice of all files. diff --git a/include/gdb/remote-sim.h b/include/gdb/remote-sim.h index 43c22ebc3..113030c82 100644 --- a/include/gdb/remote-sim.h +++ b/include/gdb/remote-sim.h @@ -278,7 +278,7 @@ void sim_do_command (SIM_DESC sd, char *cmd); /* Complete a command based on the available sim commands. Returns an array of possible matches. */ -char **sim_complete_command (SIM_DESC sd, char *text, char *word); +char **sim_complete_command (SIM_DESC sd, const char *text, const char *word); #ifdef __cplusplus }