From 0309f9549d8ab359f60790427ca97579dd26eafb Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Mon, 25 Jan 2021 18:58:37 +0000 Subject: [PATCH] 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. --- sim/rx/ChangeLog | 4 ++++ sim/rx/gdb-if.c | 8 ++++++++ 2 files changed, 12 insertions(+) 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; +} -- 2.30.2