From: Andrew Burgess Date: Mon, 25 Jan 2021 18:58:37 +0000 (+0000) Subject: sim/rx: define sim_memory_map X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0309f9549d8ab359f60790427ca97579dd26eafb;p=binutils-gdb.git 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. --- diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog index d453bed46ed..f0640395822 100644 --- a/sim/rx/ChangeLog +++ b/sim/rx/ChangeLog @@ -1,3 +1,7 @@ +2021-02-08 Andrew Burgess + + * gdb-if.c (sim_memory_map): New function. + 2021-02-06 Mike Frysinger * configure: Regenerate. diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c index 63705f9bb0e..6f8bfbd1c50 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; +}