summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2013-03-15 17:53:36 +0000
committerSteve Ellcey <sje@cup.hp.com>2013-03-15 17:53:36 +0000
commit4b1602ddf732532c57b33846ecef78be85ad6cef (patch)
tree6065126fe3e8860e1c10c711ad44d97eda3dd604 /include
parent207b0656c0cffc346c66f9902a5f8383660119ab (diff)
downloadgdb-4b1602ddf732532c57b33846ecef78be85ad6cef.tar.gz
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 'include')
-rw-r--r--include/gdb/ChangeLog4
-rw-r--r--include/gdb/remote-sim.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/gdb/ChangeLog b/include/gdb/ChangeLog
index d9618014a10..142f87ae306 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 43c22ebc3bb..113030c8215 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
}