aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-02-01 23:51:24 -0500
committerMike Frysinger <vapier@gentoo.org>2021-02-06 12:15:34 -0500
commit7a9bd3b4e219c5cd892757f86c2075ec67333903 (patch)
tree1f2aa83e1d088dedccbfb2f1d3e267707fee13db /sim
parent4c0d76b9c420bb29cb3365c5edc9c78c50d2b231 (diff)
downloadgdb-7a9bd3b4e219c5cd892757f86c2075ec67333903.zip
gdb-7a9bd3b4e219c5cd892757f86c2075ec67333903.tar.gz
gdb-7a9bd3b4e219c5cd892757f86c2075ec67333903.tar.bz2
sim: erc32/m32c/rl78: add sim_memory_map stub for gdb
These ports don't use the common sim core, so they weren't providing a sim_memory_map for gdb, so they failed to link with the new memory map logic added for the sim. Add stubs to fix.
Diffstat (limited to 'sim')
-rw-r--r--sim/erc32/ChangeLog4
-rw-r--r--sim/erc32/interf.c6
-rw-r--r--sim/m32c/ChangeLog4
-rw-r--r--sim/m32c/gdb-if.c6
-rw-r--r--sim/rl78/ChangeLog4
-rw-r--r--sim/rl78/gdb-if.c6
6 files changed, 30 insertions, 0 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index 108b6ae..6d2fc63 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,5 +1,9 @@
2021-02-06 Mike Frysinger <vapier@gentoo.org>
+ * interf.c (sim_memory_map): Define.
+
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
* configure: Regenerate.
2021-01-11 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c
index 5dd464b..ca2e9fa 100644
--- a/sim/erc32/interf.c
+++ b/sim/erc32/interf.c
@@ -465,6 +465,12 @@ sim_complete_command (SIM_DESC sd, const char *text, const char *word)
return NULL;
}
+char *
+sim_memory_map (SIM_DESC sd)
+{
+ return NULL;
+}
+
#if 0 /* FIXME: These shouldn't exist. */
int
diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog
index ed4e072..d4ca114 100644
--- a/sim/m32c/ChangeLog
+++ b/sim/m32c/ChangeLog
@@ -1,5 +1,9 @@
2021-02-06 Mike Frysinger <vapier@gentoo.org>
+ * gdb-if.c (sim_memory_map): Define.
+
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
* configure: Regenerate.
2021-01-11 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/m32c/gdb-if.c b/sim/m32c/gdb-if.c
index 5ada0b0..92e447f 100644
--- a/sim/m32c/gdb-if.c
+++ b/sim/m32c/gdb-if.c
@@ -707,6 +707,12 @@ sim_complete_command (SIM_DESC sd, const char *text, const char *word)
return NULL;
}
+char *
+sim_memory_map (SIM_DESC sd)
+{
+ return NULL;
+}
+
void
sim_info (SIM_DESC sd, int verbose)
{
diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog
index 2aa6a9b..8d43bfd 100644
--- a/sim/rl78/ChangeLog
+++ b/sim/rl78/ChangeLog
@@ -1,5 +1,9 @@
2021-02-06 Mike Frysinger <vapier@gentoo.org>
+ * gdb-if.c (sim_memory_map): Define.
+
+2021-02-06 Mike Frysinger <vapier@gentoo.org>
+
* configure: Regenerate.
2021-01-11 Mike Frysinger <vapier@gentoo.org>
diff --git a/sim/rl78/gdb-if.c b/sim/rl78/gdb-if.c
index 320db34..5671791 100644
--- a/sim/rl78/gdb-if.c
+++ b/sim/rl78/gdb-if.c
@@ -603,3 +603,9 @@ sim_complete_command (SIM_DESC sd, const char *text, const char *word)
{
return NULL;
}
+
+char *
+sim_memory_map (SIM_DESC sd)
+{
+ return NULL;
+}