diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-01-25 18:58:37 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-02-08 11:01:07 +0000 |
commit | 0309f9549d8ab359f60790427ca97579dd26eafb (patch) | |
tree | 0112757147e79ec77feae77dad70ae0538da9ad5 /sim/rx/gdb-if.c | |
parent | cd074e04155b8a9da4d420e3131b3e28efab2def (diff) |
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/gdb-if.c')
-rw-r--r-- | sim/rx/gdb-if.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c index 63705f9bb0..6f8bfbd1c5 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; +} |