* traps.c: New file. Trap support moved here from sim-if.c.
authorDoug Evans <dje@google.com>
Thu, 11 Jun 1998 01:05:21 +0000 (01:05 +0000)
committerDoug Evans <dje@google.com>
Thu, 11 Jun 1998 01:05:21 +0000 (01:05 +0000)
commit7e92721894bcf45939124aedfe9cc4c2ee7f5f05
tree26458c94a92fe368de21a67d458d0f8bda640fa8
parenta040908c40b9e767c55f2d70af964d3e38c8d048
* traps.c: New file.  Trap support moved here from sim-if.c.
* Makefile.in (SIM_OBJS): Add traps.o
* sim-if.c: Don't include targ-vals.h.
(sim_engine_illegal_insn): Moved to traps.c
* sim-main.h (SIM_CORE_SIGNAL): Define.
(m32r_core_signal): Declare.

* devices.c (device_io_read_buffer): Handle cache purging via MCCR
register.

* m32r-sim.h (M32R_MISC_PROFILE): Move here from sim-main.h.
(PROFILE_COUNT_SHORTINSNS,PROFILE_COUNT_LONGINSNS): New macros.
(TRAP_SYSCALL,TRAP_BREAKPOINT): New macros.
sim/m32r/.Sanitize
sim/m32r/ChangeLog
sim/m32r/m32r-sim.h [new file with mode: 0644]
sim/m32r/sim-main.h
sim/m32r/traps.c [new file with mode: 0644]