forked from Imagelibrary/binutils-gdb
sim: cgen: move cgen_cpu_max_extra_bytes logic into the common code
Every arch handles this the same way, so move it to the common code. This will also make unifying the sim_cpu structure easier.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2021-04-12 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* msp430-sim.c (sim_open): Delete 3rd arg to sim_cpu_alloc_all.
|
||||
|
||||
2021-04-02 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* aclocal.m4, configure: Regenerate.
|
||||
|
||||
@@ -110,7 +110,7 @@ sim_open (SIM_OPEN_KIND kind,
|
||||
|
||||
/* Initialise the simulator. */
|
||||
|
||||
if (sim_cpu_alloc_all (sd, 1, /*cgen_cpu_max_extra_bytes ()*/0) != SIM_RC_OK)
|
||||
if (sim_cpu_alloc_all (sd, 1) != SIM_RC_OK)
|
||||
{
|
||||
sim_state_free (sd);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user