aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/gdb-if.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-08-05 14:58:21 +0100
committerNick Clifton <nickc@redhat.com>2015-08-05 14:58:21 +0100
commit32f25203b47b1823bf77724e3eb7bbd15ca3e429 (patch)
tree68feed46971af75ee405b885d9eb706bc588da2d /sim/m32c/gdb-if.c
parentd89fa914ad6f10cf2827df9b3b86da1a7d9ddfd8 (diff)
downloadgdb-32f25203b47b1823bf77724e3eb7bbd15ca3e429.zip
gdb-32f25203b47b1823bf77724e3eb7bbd15ca3e429.tar.gz
gdb-32f25203b47b1823bf77724e3eb7bbd15ca3e429.tar.bz2
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.
Diffstat (limited to 'sim/m32c/gdb-if.c')
-rw-r--r--sim/m32c/gdb-if.c6
1 files changed, 6 insertions, 0 deletions
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");
+}