sim: add sim_complete_command stubs for non-common-using ports
authorMike Frysinger <vapier@gentoo.org>
Sat, 16 Apr 2011 18:16:36 +0000 (18:16 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sat, 16 Apr 2011 18:16:36 +0000 (18:16 +0000)
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>
14 files changed:
sim/arm/ChangeLog
sim/arm/wrapper.c
sim/avr/ChangeLog
sim/avr/interp.c
sim/m32c/ChangeLog
sim/m32c/gdb-if.c
sim/microblaze/ChangeLog
sim/microblaze/interp.c
sim/ppc/ChangeLog
sim/ppc/sim_calls.c
sim/rx/ChangeLog
sim/rx/gdb-if.c
sim/sh/ChangeLog
sim/sh/interp.c

index 1e0714461b7ff5dae05d70acdc8a61f3353b7338..471fdab0865b1aecb8562e48c8c7aaf1e695a05b 100644 (file)
@@ -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
index 504a0e53260e37ab73b52f3485bef9b7f75c8873..b81631d9d78452f32837d9f42b9cb039cfc43eff 100644 (file)
@@ -940,3 +940,9 @@ sim_set_callbacks (ptr)
 {
   sim_callback = ptr;
 }
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+  return NULL;
+}
index a03bde85b917f43f52f2ae474dc5d93448ae9ae8..c407e0c4e50c70be715a6a1a44b6f032e4c1295e 100644 (file)
@@ -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.
index 818f04ef80ede6ea04aaa5defe8c9611cca9b0de..c4d7da0e6eb3cb54da49d454f97e1b8accd5b922 100644 (file)
@@ -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;
+}
index 1a34d71910c4106eec9c9ab648525970ab7792b4..fe8711b16789787c3b5858f1685cd1056fe0bc7a 100644 (file)
@@ -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
index 7da441655ae351686742ec38d3f73f92099f631f..23f378fd83fff70a8ea156b6190e2f35422f4198 100644 (file)
@@ -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;
+}
index a03bde85b917f43f52f2ae474dc5d93448ae9ae8..c407e0c4e50c70be715a6a1a44b6f032e4c1295e 100644 (file)
@@ -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.
index c2476018f6cbb8f529bc559aa8c3ce93c3834c67..78c733d5f5754dca46f45f2f7db279564d60abf2 100644 (file)
@@ -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;
+}
index dc059a8b107580d23f1e56adc7c9a431abc869cd..0558910b988be14ee6ca25062809de6094837e23 100644 (file)
@@ -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.
index 93365165c1c1f3da12e2912310e813d77b798c88..e80db88b0d9dc0c93f839bd1e91bd0aeffd01d76 100644 (file)
@@ -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 */
 
index f29cb938d6241e150f83ec53f790cb65c52bd397..2eabd230509c10a70d54dbb6b5408442634527f3 100644 (file)
@@ -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
index ca4116135d8656b81a399d79726ffb28fab0078e..95884f03eb0896b5723f5673b0139d56c21a5e70 100644 (file)
@@ -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;
+}
index 82ab457a787e701b48bb0673798d676dcecd9095..b44b4fcc7e5efc2b647b5349aee2a666f4456191 100644 (file)
@@ -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.
index 0d1360f385a1a27c5a17f84e6c2dacf5a5b35f24..20239def614b53b879765b022490298f976e8593 100644 (file)
@@ -2787,3 +2787,9 @@ sim_set_callbacks (p)
 {
   callback = p;
 }
+
+char **
+sim_complete_command (SIM_DESC sd, char *text, char *word)
+{
+  return NULL;
+}
This page took 0.030292 seconds and 4 git commands to generate.