This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH/RFA] arm-netbsdelf cross-debugging fixes
- From: Richard Earnshaw <rearnsha at cambridge dot arm dot com>
- To: Jason R Thorpe <thorpej at wasabisystems dot com>
- Cc: Richard dot Earnshaw at arm dot com, gdb-patches at sources dot redhat dot com
- Date: Wed, 04 Sep 2002 10:55:38 +0100
- Subject: Re: [PATCH/RFA] arm-netbsdelf cross-debugging fixes
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> On Tue, Sep 03, 2002 at 08:23:01PM +0100, Richard Earnshaw wrote:
>
> > > While there, I also fixed a problem with arm_addr_bits_remove -- No
> > > 26-bit systems can run in Thumb mode, and so doing an arm_pc_is_thumb
> > > on them is unnecessary (and could return incorrect results if debugging
> > > code which runs in FIQ mode, since (pc & 1) == FIQ mode on those CPUs).
> > >
> > Yep, that would be a good move, but it would be easier to say yes if it
> > were a separate patch.
>
> Ok, here's this one, separated out.
>
> * arm-tdep.c (arm_addr_bits_remove): Don't check for Thumb mode
> if arm_apcs_32 is false.
>
OK