]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix building GDB for the M32C by providing a stub sim_info function.
authorNick Clifton <nickc@redhat.com>
Wed, 5 Aug 2015 13:58:21 +0000 (14:58 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 5 Aug 2015 13:58:21 +0000 (14:58 +0100)
* gdb-if.c (sim_info): Stub function to allow GDB to be built
with this simulator.

sim/m32c/ChangeLog
sim/m32c/gdb-if.c

index 228f52b003a405b098f280c2dcd3f4ddbdf1462e..e8e162450d46f27a8c80e75564b3b9411b129ad2 100644 (file)
@@ -1,3 +1,8 @@
+2015-08-05  Nick Clifton  <nickc@redhat.com>
+
+       * gdb-if.c (sim_info): Stub function to allow GDB to be built
+       with this simulator.
+
 2015-06-23  Mike Frysinger  <vapier@gentoo.org>
 
        * configure: Regenerate.
index be0054526900e258c1dd1b8e289655dee677a914..153031c5a9aa51af4ab5efd503e4ba1a3d21cea1 100644 (file)
@@ -705,3 +705,9 @@ sim_complete_command (SIM_DESC sd, const char *text, const char *word)
 {
   return NULL;
 }
+
+void
+sim_info (SIM_DESC sd, int verbose)
+{
+  printf ("The m32c minisim doesn't collect any statistics.\n");
+}