This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Fix building GDB for the M32C by providing a stub sim_info function.
- From: Nick Clifton <nickc at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 5 Aug 2015 13:58:54 -0000
- Subject: [binutils-gdb] Fix building GDB for the M32C by providing a stub sim_info function.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=32f25203b47b1823bf77724e3eb7bbd15ca3e429
commit 32f25203b47b1823bf77724e3eb7bbd15ca3e429
Author: Nick Clifton <nickc@redhat.com>
Date: Wed Aug 5 14:58:21 2015 +0100
Fix building GDB for the M32C by providing a stub sim_info function.
* gdb-if.c (sim_info): Stub function to allow GDB to be built
with this simulator.
Diff:
---
sim/m32c/ChangeLog | 5 +++++
sim/m32c/gdb-if.c | 6 ++++++
2 files changed, 11 insertions(+)
diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog
index 228f52b..e8e1624 100644
--- a/sim/m32c/ChangeLog
+++ b/sim/m32c/ChangeLog
@@ -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.
diff --git a/sim/m32c/gdb-if.c b/sim/m32c/gdb-if.c
index be00545..153031c 100644
--- a/sim/m32c/gdb-if.c
+++ b/sim/m32c/gdb-if.c
@@ -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");
+}