diff options
author | Andrew Cagney <cagney@redhat.com> | 1997-09-12 05:56:38 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 1997-09-12 05:56:38 +0000 |
commit | 410230cf6d65003b0595a7ef712b671d1bb77b0d (patch) | |
tree | c6ba4f2a0edfd794857fce8061b26e448ef8a182 /sim/v850/interp.c | |
parent | 944deab68edff4993da304bc2ed56827310b11ca (diff) | |
download | gdb-410230cf6d65003b0595a7ef712b671d1bb77b0d.zip gdb-410230cf6d65003b0595a7ef712b671d1bb77b0d.tar.gz gdb-410230cf6d65003b0595a7ef712b671d1bb77b0d.tar.bz2 |
Check reserved bits before executing instructions.
Make v850[eq] the the default simulator.
Report illegal instructions.
Include v850e instructions in v850eq.
Diffstat (limited to 'sim/v850/interp.c')
-rw-r--r-- | sim/v850/interp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sim/v850/interp.c b/sim/v850/interp.c index 485a15f..69f98d8 100644 --- a/sim/v850/interp.c +++ b/sim/v850/interp.c @@ -233,6 +233,12 @@ sim_open (kind, cb, abfd, argv) STATE_WATCHPOINTS (sd)->sizeof_pc = sizeof (PC); STATE_WATCHPOINTS (sd)->interrupt_handler = do_interrupt; STATE_WATCHPOINTS (sd)->interrupt_names = interrupt_names; + /* start-sanitize-v850e */ + STATE_ARCHITECTURE (sd) = bfd_lookup_arch (bfd_arch_v850, bfd_mach_v850e); + /* end-sanitize-v850e */ + /* start-sanitize-v850eq */ + STATE_ARCHITECTURE (sd) = bfd_lookup_arch (bfd_arch_v850, bfd_mach_v850eq); + /* end-sanitize-v850eq */ if (sim_pre_argv_init (sd, argv[0]) != SIM_RC_OK) return 0; |