* interp.c (sim_resume): Fix setting of bus error for
instruction fetch.
This commit is contained in:
parent
7ece0d85fd
commit
dc9feb5c97
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Jun 18 16:53:11 2002 J"orn Rennecke <joern.rennecke@superh.com>
|
||||||
|
|
||||||
|
* interp.c (sim_resume): Fix setting of bus error for
|
||||||
|
instruction fetch.
|
||||||
|
|
||||||
2002-06-16 Andrew Cagney <ac131313@redhat.com>
|
2002-06-16 Andrew Cagney <ac131313@redhat.com>
|
||||||
|
|
||||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||||
|
|
|
@ -1717,7 +1717,7 @@ sim_resume (sd, step, siggnal)
|
||||||
}
|
}
|
||||||
/* Check for SIGBUS due to insn fetch. */
|
/* Check for SIGBUS due to insn fetch. */
|
||||||
else if (! saved_state.asregs.exception)
|
else if (! saved_state.asregs.exception)
|
||||||
saved_state.asregs.exception == SIGBUS;
|
saved_state.asregs.exception = SIGBUS;
|
||||||
|
|
||||||
saved_state.asregs.ticks += get_now () - tick_start;
|
saved_state.asregs.ticks += get_now () - tick_start;
|
||||||
saved_state.asregs.cycles += cycles;
|
saved_state.asregs.cycles += cycles;
|
||||||
|
|
Loading…
Reference in a new issue