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.
This commit is contained in:
Mike Frysinger 2021-02-01 23:51:24 -05:00
parent 4c0d76b9c4
commit 7a9bd3b4e2
6 changed files with 30 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2021-02-06 Mike Frysinger <vapier@gentoo.org>
* interf.c (sim_memory_map): Define.
2021-02-06 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.

View File

@ -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

View File

@ -1,3 +1,7 @@
2021-02-06 Mike Frysinger <vapier@gentoo.org>
* gdb-if.c (sim_memory_map): Define.
2021-02-06 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.

View File

@ -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)
{

View File

@ -1,3 +1,7 @@
2021-02-06 Mike Frysinger <vapier@gentoo.org>
* gdb-if.c (sim_memory_map): Define.
2021-02-06 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.

View File

@ -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;
}