| Index: sim/common/sim-options.c
|
| diff --git a/sim/common/sim-options.c b/sim/common/sim-options.c
|
| index 65337837db7f82ea5dec9947e7e2e0d972b03ea4..170548b5eee6b64f77ca49a7a2c757c89cb09261 100644
|
| --- a/sim/common/sim-options.c
|
| +++ b/sim/common/sim-options.c
|
| @@ -1,6 +1,5 @@
|
| /* Simulator option handling.
|
| - Copyright (C) 1996-1997, 2004, 2007-2012 Free Software Foundation,
|
| - Inc.
|
| + Copyright (C) 1996-2013 Free Software Foundation, Inc.
|
| Contributed by Cygnus Support.
|
|
|
| This file is part of GDB, the GNU debugger.
|
| @@ -921,7 +920,7 @@ find_match (SIM_DESC sd, sim_cpu *cpu, char *argv[], int *pargi)
|
|
|
| static char **
|
| complete_option_list (char **ret, size_t *cnt, const struct option_list *ol,
|
| - char *text, char *word)
|
| + const char *text, const char *word)
|
| {
|
| const OPTION *opt = NULL;
|
| int argi;
|
| @@ -951,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;
|
|
|