aboutsummaryrefslogtreecommitdiff
path: root/sim/avr
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-04-16 18:16:36 +0000
committerMike Frysinger <vapier@gentoo.org>2011-04-16 18:16:36 +0000
commitaf9f7da78b3232bfeb4394647b257f7a98b54a29 (patch)
tree2a6392750e5d827443df1670b71f31db46bf0e2e /sim/avr
parent0427acfba0c41b73d1472602c8e41b34f6e89f82 (diff)
downloadfsf-binutils-gdb-af9f7da78b3232bfeb4394647b257f7a98b54a29.zip
fsf-binutils-gdb-af9f7da78b3232bfeb4394647b257f7a98b54a29.tar.gz
fsf-binutils-gdb-af9f7da78b3232bfeb4394647b257f7a98b54a29.tar.bz2
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/avr')
-rw-r--r--sim/avr/ChangeLog4
-rw-r--r--sim/avr/interp.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog
index a03bde8..c407e0c 100644
--- a/sim/avr/ChangeLog
+++ b/sim/avr/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/avr/interp.c b/sim/avr/interp.c
index 818f04e..c4d7da0 100644
--- a/sim/avr/interp.c
+++ b/sim/avr/interp.c
@@ -1853,3 +1853,9 @@ sim_set_callbacks (host_callback *ptr)
{
callback = ptr;
}
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+ return NULL;
+}