diff options
author | Nick Clifton <nickc@redhat.com> | 2013-01-10 09:57:02 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-01-10 09:57:02 +0000 |
commit | 853678261b50f3a4440759c3db25bad8e5fc8168 (patch) | |
tree | 61743f3f61e6e88c3e3bd2a5345fe0509208069f /sim/v850/interp.c | |
parent | a3c629886c2cdaa6ee89513b64c7f989ba30eba3 (diff) | |
download | gdb-853678261b50f3a4440759c3db25bad8e5fc8168.zip gdb-853678261b50f3a4440759c3db25bad8e5fc8168.tar.gz gdb-853678261b50f3a4440759c3db25bad8e5fc8168.tar.bz2 |
* interp.c (sim_open): Add support for bfd_arch_v850_rh850
architecture type. Add support for bfd_mach_v850e2 and
bfd_mach_v850e2v3 machine numbers.
* v850.igen (dbtrap): Add support for SIM_OPEN_DEBUG.
(cmpf.d): Correct order of operands.
(cmpf.s): Likewise.
(trncf.dul): New pattern.
(trncf.duw): New pattern.
(trncf.sul): New pattern.
(trncf.suw): New pattern.
* v850-dc: Correct bitfield selection for TRNCF.SW and CVTF.SW.
Diffstat (limited to 'sim/v850/interp.c')
-rw-r--r-- | sim/v850/interp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sim/v850/interp.c b/sim/v850/interp.c index 2c11307..b48c8a7 100644 --- a/sim/v850/interp.c +++ b/sim/v850/interp.c @@ -267,7 +267,8 @@ sim_open (kind, cb, abfd, argv) /* determine the machine type */ if (STATE_ARCHITECTURE (sd) != NULL - && STATE_ARCHITECTURE (sd)->arch == bfd_arch_v850) + && (STATE_ARCHITECTURE (sd)->arch == bfd_arch_v850 + || STATE_ARCHITECTURE (sd)->arch == bfd_arch_v850_rh850)) mach = STATE_ARCHITECTURE (sd)->mach; else mach = bfd_mach_v850; /* default */ @@ -278,6 +279,8 @@ sim_open (kind, cb, abfd, argv) case bfd_mach_v850: case bfd_mach_v850e: case bfd_mach_v850e1: + case bfd_mach_v850e2: + case bfd_mach_v850e2v3: STATE_CPU (sd, 0)->psw_mask = (PSW_NP | PSW_EP | PSW_ID | PSW_SAT | PSW_CY | PSW_OV | PSW_S | PSW_Z); break; |