Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(757)

Unified Diff: sim/common/sim-options.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sim/common/sim-options.h ('k') | sim/common/sim-profile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « sim/common/sim-options.h ('k') | sim/common/sim-profile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698