Fix the detection of illegal memory accesses in the MSP430 simulator.
authorNick Clifton <nickc@redhat.com>
Tue, 24 Feb 2015 10:27:07 +0000 (10:27 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 24 Feb 2015 10:27:07 +0000 (10:27 +0000)
commit10d602c7f9c043a149741acaffb5bbd32f9bff6f
treed94cc692434b2b6d8759b8f70d90f59ad646dfa1
parent3ad797fd086ee8eb71041992877e6d169266b4b5
Fix the detection of illegal memory accesses in the MSP430 simulator.

* msp430-sim.c (sim_open): Allocate memory regions matching those
declared in the libgloss/msp430 linker scripts.
Allow sim_load_file to fail.
(get_op): Test the correct address bit when checking for out of
range addresses.
Include the address in the error message when an illegal access to
the hardware multiplier is detected.
(put_op): Test the correct address bit when checking for out of
range addresses.
sim/msp430/ChangeLog
sim/msp430/msp430-sim.c
This page took 0.025086 seconds and 4 git commands to generate.