diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-04-05 04:37:44 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-04-05 04:37:44 -0400 |
commit | 20cc97536046f8aa883c3fba16aa1c9a2762f183 (patch) | |
tree | 4a293e6faa972cfb8584a0c5a177ff583dabb7c2 /sim/moxie/ChangeLog | |
parent | 024305f7f28b3b322ae26c5c1c2d23ca6f5c11bb (diff) | |
download | binutils-20cc97536046f8aa883c3fba16aa1c9a2762f183.zip binutils-20cc97536046f8aa883c3fba16aa1c9a2762f183.tar.gz binutils-20cc97536046f8aa883c3fba16aa1c9a2762f183.tar.bz2 |
sim: moxie: fix running after nrun conversion
The nrun conversion was slightly incorrect in how it stopped when an
exception occurred. We still set cpu.asregs.exception, but nothing
was checking it anymore. Convert all of that to sim_engine_halt.
To keep things from regressing again, add a basic testsuite too.
Diffstat (limited to 'sim/moxie/ChangeLog')
-rw-r--r-- | sim/moxie/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index e57313c..785c26e 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,3 +1,13 @@ +2015-04-05 Mike Frysinger <vapier@gentoo.org> + + * Makefile.in (SIM_OBJS): Add sim-resume.o. + * interp.c (moxie_regset): Delete exception. + (sim_resume): Rename to ... + (sim_engine_run): ... this. Delete insts variable and references + to cpu.asregs.exception, and change most to sim_engine_halt. Move + trailing insts and PC_REGNO updates into the loop. + (load_dtb): Delete open warning. Change printf to sim_io_eprintf. + 2015-04-01 Mike Frysinger <vapier@gentoo.org> * sim-main.h (SIM_HAVE_BIENDIAN): Delete. |