diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog index 41da2a734b..345c804306 100644 --- a/sim/msp430/ChangeLog +++ b/sim/msp430/ChangeLog @@ -1,3 +1,8 @@ +2020-08-07 Jozef Lawrynowicz + + * msp430-sim.c (sim_open): Increase the size of the main memory region + to 0xFAC0. + 2020-08-05 Jozef Lawrynowicz * msp430-sim.c (put_op): For unsigned multiplication, explicitly cast diff --git a/sim/msp430/msp430-sim.c b/sim/msp430/msp430-sim.c index a330c6caf5..7be32cb62e 100644 --- a/sim/msp430/msp430-sim.c +++ b/sim/msp430/msp430-sim.c @@ -138,7 +138,7 @@ sim_open (SIM_OPEN_KIND kind, if (sim_core_read_buffer (sd, MSP430_CPU (sd), read_map, &c, 0x2, 1) == 0) sim_do_commandf (sd, "memory-region 0,0x20"); /* Needed by the GDB testsuite. */ if (sim_core_read_buffer (sd, MSP430_CPU (sd), read_map, &c, 0x500, 1) == 0) - sim_do_commandf (sd, "memory-region 0x500,0xfa00"); /* RAM and/or ROM */ + sim_do_commandf (sd, "memory-region 0x500,0xfac0"); /* RAM and/or ROM */ if (sim_core_read_buffer (sd, MSP430_CPU (sd), read_map, &c, 0xfffe, 1) == 0) sim_do_commandf (sd, "memory-region 0xffc0,0x40"); /* VECTORS. */ if (sim_core_read_buffer (sd, MSP430_CPU (sd), read_map, &c, 0x10000, 1) == 0)