From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23455 invoked by alias); 9 Nov 2010 03:29:35 -0000 Received: (qmail 23436 invoked by uid 22791); 9 Nov 2010 03:29:34 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-iw0-f169.google.com (HELO mail-iw0-f169.google.com) (209.85.214.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Nov 2010 03:29:30 +0000 Received: by iwn9 with SMTP id 9so7324312iwn.0 for ; Mon, 08 Nov 2010 19:29:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.33.132 with SMTP id h4mr4676848ibd.150.1289273368314; Mon, 08 Nov 2010 19:29:28 -0800 (PST) Received: by 10.231.146.82 with HTTP; Mon, 8 Nov 2010 19:29:28 -0800 (PST) In-Reply-To: <20101109024617.GA20814@host0.dyn.jankratochvil.net> References: <20101108143618.GA30630@host0.dyn.jankratochvil.net> <20101109024617.GA20814@host0.dyn.jankratochvil.net> Date: Tue, 09 Nov 2010 03:29:00 -0000 Message-ID: Subject: Re: [patch] solib-display.exp: displays for local variables automatically disabled From: Xingxing Pan To: Jan Kratochvil Cc: gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-11/txt/msg00132.txt.bz2 Hi, Jan. I found the reason. The arch-dependented function gdbarch_init should reuse the existing arch. I've to say sorry that something happend during the porting, and this problem is not common. Thanks, Pan Xingxing 2010/11/9 Jan Kratochvil : > Hi Pan, > > On Tue, 09 Nov 2010 03:36:21 +0100, Xingxing Pan wrote: >> Is it normal to have d->exp->gdbarch !=3D get_current_arch() after resta= rt? > > No, that is not normal. > > It may be something with the Thumb vs. non-Thumb arch? =A0I do not know m= uch > ARM. > > But at least now I can image how it can happen, I will re-check it. > > > Thanks, > Jan >