This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: ARM sim: ldm may switch to/from Thumb mode too
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: ARM sim: ldm may switch to/from Thumb mode too
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Tue, 04 Jul 2000 10:18:26 +0100
- Cc: gdb-patches at sourceware dot cygnus dot com
- Cc: rearnsha at arm dot com
- Organization: ARM Ltd.
- Reply-To: rearnsha at arm dot com
> I'm checking this in, approved by Nick Clifton:
>
>
> Index: sim/arm/ChangeLog
> from Alexandre Oliva <aoliva@redhat.com>
> * armemu.c (LoadSMult): Use WriteR15() to discard the least
> significant bits of PC.
LDM will only do a mode change to/from thumb mode on Architecture 5 or
later chips. Architecture 4 chips (ARM7TDMI, ARM9TDMI) must do a mode
change via bx.
R.