From: Mike Frysinger Date: Fri, 15 Apr 2011 16:23:19 +0000 (+0000) Subject: gdb: sim: add style fixes lost between git->cvs X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=5592f70ec8e16bca9b12d04932d792a86e0ffe9e;p=deliverable%2Fbinutils-gdb.git gdb: sim: add style fixes lost between git->cvs --- diff --git a/include/gdb/remote-sim.h b/include/gdb/remote-sim.h index 5f6000d83d..14a86a8666 100644 --- a/include/gdb/remote-sim.h +++ b/include/gdb/remote-sim.h @@ -278,6 +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); #ifdef __cplusplus diff --git a/sim/common/sim-options.c b/sim/common/sim-options.c index ee8a8ec69c..cfc572cff7 100644 --- a/sim/common/sim-options.c +++ b/sim/common/sim-options.c @@ -945,6 +945,7 @@ complete_option_list (char **ret, size_t *cnt, const struct option_list *ol, /* All leading text is stored in @text, while the current word being completed is stored in @word. Trailing text of @word is not. */ + char ** sim_complete_command (SIM_DESC sd, char *text, char *word) {