diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-04-16 18:16:36 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-04-16 18:16:36 +0000 |
commit | af9f7da78b3232bfeb4394647b257f7a98b54a29 (patch) | |
tree | 2a6392750e5d827443df1670b71f31db46bf0e2e /sim/rx | |
parent | 0427acfba0c41b73d1472602c8e41b34f6e89f82 (diff) | |
download | gdb-af9f7da78b3232bfeb4394647b257f7a98b54a29.zip gdb-af9f7da78b3232bfeb4394647b257f7a98b54a29.tar.gz 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/rx')
-rw-r--r-- | sim/rx/ChangeLog | 4 | ||||
-rw-r--r-- | sim/rx/gdb-if.c | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog index f29cb93..2eabd23 100644 --- a/sim/rx/ChangeLog +++ b/sim/rx/ChangeLog @@ -1,3 +1,7 @@ +2011-04-16 Mike Frysinger <vapier@gentoo.org> + + * gdb-if.c (sim_complete_command): New stub function. + 2011-01-11 Andrew Burgess <aburgess@broadcom.com> * gdb-if.c (sim_store_register): Update return value to diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c index ca41161..95884f0 100644 --- a/sim/rx/gdb-if.c +++ b/sim/rx/gdb-if.c @@ -862,3 +862,9 @@ sim_do_command (SIM_DESC sd, char *cmd) 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; +} |