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://repo.jachan.dev/binutils.git/commitdiff_plain/7a9bd3b4e219c5cd892757f86c2075ec67333903 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 108b6aeeba..6d2fc63d1e 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 5dd464b0ce..ca2e9faea2 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 ed4e0727ef..d4ca114417 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 5ada0b0bc1..92e447f17f 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 2aa6a9bc91..8d43bfd859 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 320db34f43..56717917e5 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; +}