aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/remote-sim.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 07cb80d..da461ec 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-15 Steve Ellcey <sellcey@mips.com>
+
+ * remote-sim.c (sim_command_completer): Make char arguments const.
+
2013-03-15 Tom Tromey <tromey@redhat.com>
PR c++/15116:
diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c
index 860eaf3..a578bbc 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;