From: Mike Frysinger Date: Tue, 2 Feb 2021 04:51:24 +0000 (-0500) Subject: sim: erc32/m32c/rl78: add sim_memory_map stub for gdb X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a9bd3b4e219c5cd892757f86c2075ec67333903;p=binutils-gdb.git sim: erc32/m32c/rl78: add sim_memory_map stub for gdb These ports don't use the common sim core, so they weren't providing a sim_memory_map for gdb, so they failed to link with the new memory map logic added for the sim. Add stubs to fix. --- diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog index 108b6aeeba5..6d2fc63d1e5 100644 --- a/sim/erc32/ChangeLog +++ b/sim/erc32/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * interf.c (sim_memory_map): Define. + 2021-02-06 Mike Frysinger * configure: Regenerate. diff --git a/sim/erc32/interf.c b/sim/erc32/interf.c index 5dd464b0ce7..ca2e9faea21 100644 --- a/sim/erc32/interf.c +++ b/sim/erc32/interf.c @@ -465,6 +465,12 @@ sim_complete_command (SIM_DESC sd, const char *text, const char *word) return NULL; } +char * +sim_memory_map (SIM_DESC sd) +{ + return NULL; +} + #if 0 /* FIXME: These shouldn't exist. */ int diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog index ed4e0727efe..d4ca1144176 100644 --- a/sim/m32c/ChangeLog +++ b/sim/m32c/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * gdb-if.c (sim_memory_map): Define. + 2021-02-06 Mike Frysinger * configure: Regenerate. diff --git a/sim/m32c/gdb-if.c b/sim/m32c/gdb-if.c index 5ada0b0bc17..92e447f17fa 100644 --- a/sim/m32c/gdb-if.c +++ b/sim/m32c/gdb-if.c @@ -707,6 +707,12 @@ sim_complete_command (SIM_DESC sd, const char *text, const char *word) return NULL; } +char * +sim_memory_map (SIM_DESC sd) +{ + return NULL; +} + void sim_info (SIM_DESC sd, int verbose) { diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog index 2aa6a9bc91a..8d43bfd8590 100644 --- a/sim/rl78/ChangeLog +++ b/sim/rl78/ChangeLog @@ -1,3 +1,7 @@ +2021-02-06 Mike Frysinger + + * gdb-if.c (sim_memory_map): Define. + 2021-02-06 Mike Frysinger * configure: Regenerate. diff --git a/sim/rl78/gdb-if.c b/sim/rl78/gdb-if.c index 320db34f436..56717917e55 100644 --- a/sim/rl78/gdb-if.c +++ b/sim/rl78/gdb-if.c @@ -603,3 +603,9 @@ sim_complete_command (SIM_DESC sd, const char *text, const char *word) { return NULL; } + +char * +sim_memory_map (SIM_DESC sd) +{ + return NULL; +}