This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: StrongARM: str stores different PC
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Re: StrongARM: str stores different PC
- From: Richard Earnshaw <rearnsha at arm dot com>
- Date: Tue, 04 Jul 2000 10:21:39 +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
> ARM's `str' stores PC+12, but StrongARM stores PC+8, so we must be
> able to tell one architecture from the other. That's what this patch
> does. Unfortunately, the architecture detection only works properly
> on COFF, because architecture information isn't available in ELF
> binaries. Approved by Nick Clifton.
>
Not only StrongARM. ARM8 ARM9 & ARM10 chips all store PC+8.
R.