+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:
}
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;
+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.
/* 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
}
+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.
+
2013-01-01 Joel Brobecker <brobecker@adacore.com>
Update year range in copyright notice of all files.
}
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;
}
}
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;
}
completed is stored in @word. Trailing text of @word is not. */
char **
-sim_complete_command (SIM_DESC sd, char *text, char *word)
+sim_complete_command (SIM_DESC sd, const char *text, const char *word)
{
char **ret = NULL;
size_t cnt = 1;
}
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;
}
}
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;
}
}
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;
}
}
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;
}
}
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;
}
/* 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;
}
}
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;
}
}
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;
}