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 | |
parent | 0427acfba0c41b73d1472602c8e41b34f6e89f82 (diff) | |
download | ppe42-binutils-af9f7da78b3232bfeb4394647b257f7a98b54a29.tar.gz ppe42-binutils-af9f7da78b3232bfeb4394647b257f7a98b54a29.zip |
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>
-rw-r--r-- | sim/arm/ChangeLog | 4 | ||||
-rw-r--r-- | sim/arm/wrapper.c | 6 | ||||
-rw-r--r-- | sim/avr/ChangeLog | 4 | ||||
-rw-r--r-- | sim/avr/interp.c | 6 | ||||
-rw-r--r-- | sim/m32c/ChangeLog | 4 | ||||
-rw-r--r-- | sim/m32c/gdb-if.c | 6 | ||||
-rw-r--r-- | sim/microblaze/ChangeLog | 4 | ||||
-rw-r--r-- | sim/microblaze/interp.c | 6 | ||||
-rw-r--r-- | sim/ppc/ChangeLog | 4 | ||||
-rw-r--r-- | sim/ppc/sim_calls.c | 5 | ||||
-rw-r--r-- | sim/rx/ChangeLog | 4 | ||||
-rw-r--r-- | sim/rx/gdb-if.c | 6 | ||||
-rw-r--r-- | sim/sh/ChangeLog | 4 | ||||
-rw-r--r-- | sim/sh/interp.c | 6 |
14 files changed, 69 insertions, 0 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index 1e0714461b..471fdab086 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,3 +1,7 @@ +2011-04-16 Mike Frysinger <vapier@gentoo.org> + + * wrapper.c (sim_complete_command): New stub function. + 2010-05-26 Ozkan Sezer <sezeroz@gmail.com> * communicate.c (MYread_char): Check error return from accept() call diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c index 504a0e5326..b81631d9d7 100644 --- a/sim/arm/wrapper.c +++ b/sim/arm/wrapper.c @@ -940,3 +940,9 @@ sim_set_callbacks (ptr) { sim_callback = ptr; } + +char ** +sim_complete_command (SIM_DESC sd, char *text, char *word) +{ + return NULL; +} diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog index a03bde85b9..c407e0c4e5 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 818f04ef80..c4d7da0e6e 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; +} diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog index 1a34d71910..fe8711b167 100644 --- a/sim/m32c/ChangeLog +++ b/sim/m32c/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/m32c/gdb-if.c b/sim/m32c/gdb-if.c index 7da441655a..23f378fd83 100644 --- a/sim/m32c/gdb-if.c +++ b/sim/m32c/gdb-if.c @@ -703,3 +703,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; +} diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog index a03bde85b9..c407e0c4e5 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 c2476018f6..78c733d5f5 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; +} diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index dc059a8b10..0558910b98 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,7 @@ +2011-04-16 Mike Frysinger <vapier@gentoo.org> + + * sim_calls.c (sim_complete_command): New stub function. + 2011-02-14 Mike Frysinger <vapier@gentoo.org> * cap.c (cap_remove): Change zfree to free. diff --git a/sim/ppc/sim_calls.c b/sim/ppc/sim_calls.c index 93365165c1..e80db88b0d 100644 --- a/sim/ppc/sim_calls.c +++ b/sim/ppc/sim_calls.c @@ -259,6 +259,11 @@ sim_do_command (SIM_DESC sd, char *cmd) } } +char ** +sim_complete_command (SIM_DESC sd, char *text, char *word) +{ + return NULL; +} /* Polling, if required */ diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog index f29cb938d6..2eabd23050 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 ca4116135d..95884f03eb 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; +} diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog index 82ab457a78..b44b4fcc7e 100644 --- a/sim/sh/ChangeLog +++ b/sim/sh/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/sh/interp.c b/sim/sh/interp.c index 0d1360f385..20239def61 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; +} |