For the ports that don't use the common/ subdir, we need to add stub funcs
to them to avoid build failures with gdb and command completion. These do
not implement the actual completion functionality ... any port that wants
that can either convert to the common/ subdir, or fill out the function on
their own time.
Signed-off-by: Mike Frysinger <[email protected]>
+
+ * wrapper.c (sim_complete_command): New stub function.
+
* communicate.c (MYread_char): Check error return from accept() call
{
sim_callback = ptr;
}
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+ return NULL;
+}
+
+ * interp.c (sim_complete_command): New stub function.
+
* interp.c (sim_write): Add const to buffer arg.
{
callback = ptr;
}
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+ return NULL;
+}
+
+ * gdb-if.c (sim_complete_command): New stub function.
+
* gdb-if.c (sim_store_register): Update return value to
printf ("The 'sim' command expects either 'trace' or 'verbose'"
" as a subcommand.\n");
}
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+ return NULL;
+}
+
+ * interp.c (sim_complete_command): New stub function.
+
* interp.c (sim_write): Add const to buffer arg.
{
callback = ptr;
}
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+ return NULL;
+}
+
+ * sim_calls.c (sim_complete_command): New stub function.
+
* cap.c (cap_remove): Change zfree to free.
}
}
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+ return NULL;
+}
/* Polling, if required */
+
+ * gdb-if.c (sim_complete_command): New stub function.
+
* gdb-if.c (sim_store_register): Update return value to
printf ("The 'sim' command expects either 'trace' or 'verbose'"
" as a subcommand.\n");
}
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+ return NULL;
+}
+
+ * interp.c (sim_complete_command): New stub function.
+
* interp.c (sim_write): Add const to buffer arg.
{
callback = p;
}
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+ return NULL;
+}