From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115883 invoked by alias); 16 Dec 2015 17:13:22 -0000 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 Received: (qmail 115868 invoked by uid 89); 16 Dec 2015 17:13:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=gingoldadacorecom, gingold@adacore.com, purely X-HELO: mail-oi0-f46.google.com Received: from mail-oi0-f46.google.com (HELO mail-oi0-f46.google.com) (209.85.218.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 16 Dec 2015 17:13:20 +0000 Received: by mail-oi0-f46.google.com with SMTP id o62so23255922oif.3 for ; Wed, 16 Dec 2015 09:13:20 -0800 (PST) X-Received: by 10.202.76.215 with SMTP id z206mr6327749oia.92.1450285998493; Wed, 16 Dec 2015 09:13:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.76.69.69 with HTTP; Wed, 16 Dec 2015 09:12:59 -0800 (PST) In-Reply-To: References: <566F108D.1000401@redhat.com> <566F5B1A.8040703@redhat.com> From: Christopher Friedt Date: Wed, 16 Dec 2015 17:13:00 -0000 Message-ID: Subject: Re: cortex-m xml register descriptions for m-system To: Tristan Gingold Cc: Pedro Alves , Yao Qi , gdb-patches@sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-12/txt/msg00307.txt.bz2 On Wed, Dec 16, 2015 at 8:51 AM, Tristan Gingold wrot= e: > >> On 15 Dec 2015, at 16:35, Christopher Friedt wro= te: >> >> Just so we can have consensus, please indicate what you think is the >> best solution - Pedro, Yao, & Tristan. >> >> Based on Tristan's feedback as well, it confirms that these registers >> are necessary for DWARF handling. > > Not sure about that. To my understanding, DWARF doesn=E2=80=99t need to = refer > to psp or msp. Wait... just yesterday you wrote: "I do think so too. I have just written a patch so that gdb unwinds correctly on cortex-m exceptions, and this of course requires that gdb knows about at least psp." Maybe I'm confused. I presumed DWARF was involved in unwinding to some extent, but if its purely just used for debugging, it might not require PSP / MSP at all. In any case PSP / MSP are most definitely used in unwinding.