diff options
author | Nick Clifton <nickc@redhat.com> | 2005-04-25 07:48:59 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-04-25 07:48:59 +0000 |
commit | 8207e0f24ed02f921d7eb24fd80ac919e38a36f7 (patch) | |
tree | 9bb01fd4e158a04fcc06289c39d2b7a400495e6e /sim/arm/wrapper.c | |
parent | 02ddf1568180e41117d6d2804636e64775ac37b6 (diff) | |
download | gdb-8207e0f24ed02f921d7eb24fd80ac919e38a36f7.zip gdb-8207e0f24ed02f921d7eb24fd80ac919e38a36f7.tar.gz gdb-8207e0f24ed02f921d7eb24fd80ac919e38a36f7.tar.bz2 |
* armemu.c (handle_v6_insn): New function - emulate a few of the v6 instructions - the ones now generated by GCC.
(ARMulEmulate32): Call handle_v6_insn when a possible v6 insn is found.
* armdefs.h (struct ARMul_State): Add new field: is_v6.#
(ARM_v6_Prop): Define.
* arminit.c (ARMul_NewState): Initialise the v6 flag.
(ARMul_SelectProcessor): Determine if the v6 flag should be set.
* wrapper.c (sim_create_inferior): For unknown architectures, default to allowing the v6 instructions.
Diffstat (limited to 'sim/arm/wrapper.c')
-rw-r--r-- | sim/arm/wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/arm/wrapper.c b/sim/arm/wrapper.c index 70cfd1e..b9ad832 100644 --- a/sim/arm/wrapper.c +++ b/sim/arm/wrapper.c @@ -275,7 +275,7 @@ sim_create_inferior (sd, abfd, argv, env) removes the FPE emulator, since it conflicts with its coprocessors. For the most generic ARM support, we want the FPE emulator in place. */ case bfd_mach_arm_XScale: - ARMul_SelectProcessor (state, ARM_v5_Prop | ARM_v5e_Prop | ARM_XScale_Prop); + ARMul_SelectProcessor (state, ARM_v5_Prop | ARM_v5e_Prop | ARM_XScale_Prop | ARM_v6_Prop); break; case bfd_mach_arm_iWMMXt: |