aboutsummaryrefslogtreecommitdiff
path: root/sim/erc32
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-06-01 17:35:02 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-06-01 17:35:02 +0000
commit248d2a8fdcb2f5b0eba8f189ed55bac41480ca21 (patch)
tree274ac1a97762304aaa27477e364ab088f851e21b /sim/erc32
parentdbc0f131677265e98096c30a4158ac6690a49671 (diff)
downloadgdb-248d2a8fdcb2f5b0eba8f189ed55bac41480ca21.zip
gdb-248d2a8fdcb2f5b0eba8f189ed55bac41480ca21.tar.gz
gdb-248d2a8fdcb2f5b0eba8f189ed55bac41480ca21.tar.bz2
Add `sim_complete_command' definition to erc32 sim
This patch fixes a build failure at link time due to sim_complete_command being undefined. There was a recent change that added this function to all the ports that do not use the common/ subdir. But somehow, the erc32 port got missed. sim/erc32/ChangeLog: * interf.c (sim_complete_command): New stub function.
Diffstat (limited to 'sim/erc32')
-rw-r--r--sim/erc32/ChangeLog4
-rw-r--r--sim/erc32/interf.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index cf128ba..5317b99 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,7 @@
+2011-06-01 Joel Brobecker <brobecker@adacore.com>
+
+ * interf.c (sim_complete_command): New stub function.
+
2011-01-11 Andrew Burgess <aburgess@broadcom.com>
* interf.c (sim_store_register): Update return value to
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c
index d81511a..7ee4dee 100644
--- a/sim/erc32/interf.c
+++ b/sim/erc32/interf.c
@@ -481,6 +481,12 @@ sim_do_command(sd, cmd)
exec_cmd(&sregs, cmd);
}
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+ return NULL;
+}
+
#if 0 /* FIXME: These shouldn't exist. */
int