From af9f7da78b3232bfeb4394647b257f7a98b54a29 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 16 Apr 2011 18:16:36 +0000 Subject: 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 --- sim/sh/ChangeLog | 4 ++++ sim/sh/interp.c | 6 ++++++ 2 files changed, 10 insertions(+) (limited to 'sim/sh') diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog index 82ab457..b44b4fc 100644 --- a/sim/sh/ChangeLog +++ b/sim/sh/ChangeLog @@ -1,3 +1,7 @@ +2011-04-16 Mike Frysinger + + * interp.c (sim_complete_command): New stub function. + 2010-04-14 Mike Frysinger * interp.c (sim_write): Add const to buffer arg. diff --git a/sim/sh/interp.c b/sim/sh/interp.c index 0d1360f..20239de 100644 --- a/sim/sh/interp.c +++ b/sim/sh/interp.c @@ -2787,3 +2787,9 @@ sim_set_callbacks (p) { callback = p; } + +char ** +sim_complete_command (SIM_DESC sd, char *text, char *word) +{ + return NULL; +} -- cgit v1.1