From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10060 invoked by alias); 17 Jul 2018 13:36:30 -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 10051 invoked by uid 89); 17 Jul 2018 13:36:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx3-rdu2.redhat.com (HELO mx1.redhat.com) (66.187.233.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 17 Jul 2018 13:36:29 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B85C07B2B3; Tue, 17 Jul 2018 13:36:27 +0000 (UTC) Received: from [127.0.0.1] (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3E7B72026D68; Tue, 17 Jul 2018 13:36:27 +0000 (UTC) Subject: Re: [PATCH] gdb: Add switch to disable DWARF stack unwinders To: Andrew Burgess , gdb-patches@sourceware.org References: <20180713134629.27011-1-andrew.burgess@embecosm.com> From: Pedro Alves Message-ID: Date: Tue, 17 Jul 2018 13:36:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180713134629.27011-1-andrew.burgess@embecosm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2018-07/txt/msg00514.txt.bz2 On 07/13/2018 02:46 PM, Andrew Burgess wrote: > Add a maintenance command to disable the DWARF stack unwinders. > Normal users would not need this feature, but it is useful to allow > extended testing of fallback stack unwinding strategies, for example, > prologue scanners. I think a command to enable/disable unwinders is good, especially if it supports all kinds of unwinders by name, but I thought I'd also mention that the last time prologue testing came up, we ended up with targeted unit tests. See aarch64_analyze_prologue_test, git commit 4d9a9006139d, . Thanks, Pedro Alves