From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4560 invoked by alias); 15 Mar 2012 18:33:21 -0000 Received: (qmail 4550 invoked by uid 22791); 15 Mar 2012 18:33:19 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 15 Mar 2012 18:32:53 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id D2F392F78008; Thu, 15 Mar 2012 18:32:51 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1HZplUhUhquu; Thu, 15 Mar 2012 18:32:30 +0000 (GMT) Received: from lert.jifvik.org (jifvik.dyndns.org [85.158.45.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: jlarmour@ecoscentric.com) by mail.ecoscentric.com (Postfix) with ESMTP id 8AFD62F78001; Thu, 15 Mar 2012 18:32:30 +0000 (GMT) Message-ID: <4F6235BD.2080000@eCosCentric.com> Date: Thu, 15 Mar 2012 18:33:00 -0000 From: Jonathan Larmour User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Lightning/1.0b2pre Thunderbird/3.0.10 MIME-Version: 1.0 To: Pedro Alves CC: gdb-patches@sourceware.org Subject: Re: Fwd: Re: [patch] Add support for ARMv7M devices. References: <4F598611.4020506@eCosCentric.com> <4F5A240C.1010702@codesourcery.com> <4F5A2C12.6000300@eCosCentric.com> <4F5A2FBE.2070201@redhat.com> <4F5C1DCA.5080309@eCosCentric.com> <4F60C1F3.30504@redhat.com> <4F618BA0.6000603@eCosCentric.com> <4F622210.7010904@redhat.com> In-Reply-To: <4F622210.7010904@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: 2012-03/txt/msg00559.txt.bz2 On 15/03/12 17:08, Pedro Alves wrote: > On 03/15/2012 06:26 AM, Jonathan Larmour wrote: >> So, just to be clear, if neither the user nor target supplies a tdesc, the >> block in arm_gdbarch_init() starting with: >> if (tdesc_has_registers (tdesc)) >> will never be run? If that's the case, no need to answer. Or is >> arm_gdbarch_init() called a second time after the remote 'g' packet >> guessing occurs (which has selected a tdesc)? > > > It is called a second time. You can try putting a breakpoint > there and see what happens. [snip useful info] Thanks for that. It'll help me in future (and from the mailing list archives, hopefully others!). So back to the topic in hand, is there agreement that the most recent version of the patch is acceptable? As in the patch contained here: http://sourceware.org/ml/gdb-patches/2012-03/msg00377.html Let me know if I should commit it. Jifl