summaryrefslogtreecommitdiff
path: root/sim/microblaze
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-16 18:16:33 +0000
committerMike Frysinger <vapier@gentoo.org>2011-04-16 18:16:33 +0000
commit83a52a17fac115837a184696afa6fbf5e4c12993 (patch)
treed407c50ba004ec7b35843cf369847c81bd5d2389 /sim/microblaze
parent16d2f8d0b7312e904783e0bb0af032afee2d64f7 (diff)
downloadgdb-83a52a17fac115837a184696afa6fbf5e4c12993.tar.gz
sim: add sim_complete_command stubs for non-common-using ports
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 <vapier@gentoo.org>
Diffstat (limited to 'sim/microblaze')
-rw-r--r--sim/microblaze/ChangeLog4
-rw-r--r--sim/microblaze/interp.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
index a03bde85b91..c407e0c4e50 100644
--- a/sim/microblaze/ChangeLog
+++ b/sim/microblaze/ChangeLog
@@ -1,3 +1,7 @@
+2011-04-16 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c (sim_complete_command): New stub function.
+
2010-04-14 Mike Frysinger <vapier@gentoo.org>
* interp.c (sim_write): Add const to buffer arg.
diff --git a/sim/microblaze/interp.c b/sim/microblaze/interp.c
index c2476018f6c..78c733d5f57 100644
--- a/sim/microblaze/interp.c
+++ b/sim/microblaze/interp.c
@@ -1089,3 +1089,9 @@ sim_set_callbacks (host_callback *ptr)
{
callback = ptr;
}
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+ return NULL;
+}