]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim/rx: define sim_memory_map
authorAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 25 Jan 2021 18:58:37 +0000 (18:58 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Mon, 8 Feb 2021 11:01:07 +0000 (11:01 +0000)
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.

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

index d453bed46ed045c10b6838dc26e04c5c9a3be3f1..f06403958228ac84e30509fa526fca3a0d2ad7fe 100644 (file)
@@ -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.
index 63705f9bb0e66aa9e236a33ac998b339d32fdbfc..6f8bfbd1c50b554c8465cf6af4f37a20c5ca2b8a 100644 (file)
@@ -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;
+}