diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/gdb/ChangeLog | 4 | ||||
-rw-r--r-- | include/gdb/remote-sim.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog index d961801..142f87a 100644 --- a/include/gdb/ChangeLog +++ b/include/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-03-15 Steve Ellcey <sellcey@mips.com> + + * gdb/remote-sim.h (sim_command_completer): Make char arguments const. + 2013-01-01 Joel Brobecker <brobecker@adacore.com> Update year range in copyright notice of all files. diff --git a/include/gdb/remote-sim.h b/include/gdb/remote-sim.h index 43c22eb..113030c 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 } |