From 7a9bd3b4e219c5cd892757f86c2075ec67333903 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 1 Feb 2021 23:51:24 -0500 Subject: 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. --- sim/m32c/gdb-if.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sim/m32c/gdb-if.c') diff --git a/sim/m32c/gdb-if.c b/sim/m32c/gdb-if.c index 5ada0b0..92e447f 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) { -- cgit v1.1