Browse Source

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.
cygwin-64bit-premerge-branch
Steve Ellcey 14 years ago
parent
commit
3cb2ab1a46
  1. 4
      gdb/ChangeLog
  2. 3
      gdb/remote-sim.c
  3. 4
      include/gdb/ChangeLog
  4. 2
      include/gdb/remote-sim.h
  5. 14
      sim/ChangeLog
  6. 2
      sim/arm/wrapper.c
  7. 2
      sim/avr/interp.c
  8. 2
      sim/common/sim-options.c
  9. 2
      sim/cr16/interp.c
  10. 2
      sim/erc32/interf.c
  11. 2
      sim/m32c/gdb-if.c
  12. 2
      sim/microblaze/interp.c
  13. 2
      sim/ppc/sim_calls.c
  14. 2
      sim/rl78/gdb-if.c
  15. 2
      sim/rx/gdb-if.c
  16. 2
      sim/sh/interp.c

4
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:

3
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;

4
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.

2
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
}

14
sim/ChangeLog

@ -1,3 +1,17 @@
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.

2
sim/arm/wrapper.c

@ -945,7 +945,7 @@ sim_set_callbacks (ptr)
}
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;
}

2
sim/avr/interp.c

@ -1855,7 +1855,7 @@ sim_set_callbacks (host_callback *ptr)
}
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;
}

2
sim/common/sim-options.c

@ -950,7 +950,7 @@ complete_option_list (char **ret, size_t *cnt, const struct option_list *ol,
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;

2
sim/cr16/interp.c

@ -1553,7 +1553,7 @@ sim_store_register (sd, rn, memory, length)
}
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;
}

2
sim/erc32/interf.c

@ -485,7 +485,7 @@ sim_do_command(sd, cmd)
}
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;
}

2
sim/m32c/gdb-if.c

@ -704,7 +704,7 @@ sim_do_command (SIM_DESC sd, char *cmd)
}
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;
}

2
sim/microblaze/interp.c

@ -1090,7 +1090,7 @@ sim_set_callbacks (host_callback *ptr)
}
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;
}

2
sim/ppc/sim_calls.c

@ -259,7 +259,7 @@ sim_do_command (SIM_DESC sd, char *cmd)
}
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;
}

2
sim/rl78/gdb-if.c

@ -567,7 +567,7 @@ sim_do_command (SIM_DESC sd, char *cmd)
/* 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;
}

2
sim/rx/gdb-if.c

@ -864,7 +864,7 @@ sim_do_command (SIM_DESC sd, char *cmd)
}
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;
}

2
sim/sh/interp.c

@ -2789,7 +2789,7 @@ sim_set_callbacks (p)
}
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;
}

Loading…
Cancel
Save