From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4120 invoked by alias); 4 Sep 2002 09:56:21 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4109 invoked from network); 4 Sep 2002 09:56:19 -0000 Received: from unknown (HELO fw-cam.cambridge.arm.com) (193.131.176.3) by sources.redhat.com with SMTP; 4 Sep 2002 09:56:19 -0000 Received: by fw-cam.cambridge.arm.com; id KAA07104; Wed, 4 Sep 2002 10:56:14 +0100 (BST) Received: from unknown(172.16.202.26) by fw-cam.cambridge.arm.com via smap (V5.5) id xma006645; Wed, 4 Sep 02 10:55:38 +0100 Received: from pc960.cambridge.arm.com (rearnsha@localhost) by pc960.cambridge.arm.com (8.11.6/8.11.6) with ESMTP id g849tcW17321; Wed, 4 Sep 2002 10:55:38 +0100 Message-Id: <200209040955.g849tcW17321@pc960.cambridge.arm.com> To: Jason R Thorpe cc: Richard.Earnshaw@arm.com, gdb-patches@sources.redhat.com Reply-To: Richard.Earnshaw@arm.com Organization: ARM Ltd. X-Telephone: +44 1223 400569 (direct+voicemail), +44 1223 400400 (switchbd) X-Fax: +44 1223 400410 X-Address: ARM Ltd., 110 Fulbourn Road, Cherry Hinton, Cambridge CB1 9NJ. Subject: Re: [PATCH/RFA] arm-netbsdelf cross-debugging fixes In-reply-to: Your message of "Tue, 03 Sep 2002 15:40:31 PDT." <20020903154031.U12843@dr-evil.shagadelic.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 04 Sep 2002 02:56:00 -0000 From: Richard Earnshaw X-SW-Source: 2002-09/txt/msg00053.txt.bz2 > 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