aboutsummaryrefslogtreecommitdiff
path: root/sim/rx
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-01-25 18:58:37 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-02-08 11:01:07 +0000
commit0309f9549d8ab359f60790427ca97579dd26eafb (patch)
tree0112757147e79ec77feae77dad70ae0538da9ad5 /sim/rx
parentcd074e04155b8a9da4d420e3131b3e28efab2def (diff)
downloadgdb-0309f9549d8ab359f60790427ca97579dd26eafb.zip
gdb-0309f9549d8ab359f60790427ca97579dd26eafb.tar.gz
gdb-0309f9549d8ab359f60790427ca97579dd26eafb.tar.bz2
sim/rx: define sim_memory_map
The rx simulator doesn't define sim_memory_map and so fails to link with GDB. Define it now to return NULL, this can be extended later to return an actual memory map if anyone wants this functionality. sim/rx/ChangeLog: * gdb-if.c (sim_memory_map): New function.
Diffstat (limited to 'sim/rx')
-rw-r--r--sim/rx/ChangeLog4
-rw-r--r--sim/rx/gdb-if.c8
2 files changed, 12 insertions, 0 deletions
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog
index d453bed..f064039 100644
--- a/sim/rx/ChangeLog
+++ b/sim/rx/ChangeLog
@@ -1,3 +1,7 @@
+2021-02-08 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * gdb-if.c (sim_memory_map): New function.
+
2021-02-06 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c
index 63705f9..6f8bfbd 100644
--- a/sim/rx/gdb-if.c
+++ b/sim/rx/gdb-if.c
@@ -854,3 +854,11 @@ sim_complete_command (SIM_DESC sd, const char *text, const char *word)
{
return NULL;
}
+
+/* Stub this out for now. */
+
+char *
+sim_memory_map (SIM_DESC sd)
+{
+ return NULL;
+}