Browse Source

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.
binutils-2_37-branch
Andrew Burgess 5 years ago
parent
commit
0309f9549d
  1. 4
      sim/rx/ChangeLog
  2. 8
      sim/rx/gdb-if.c

4
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.

8
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;
}

Loading…
Cancel
Save