From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 97912 invoked by alias); 13 Jul 2018 22:37:10 -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 97889 invoked by uid 89); 13 Jul 2018 22:37:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1197, interest X-HELO: mail-wm0-f67.google.com Received: from mail-wm0-f67.google.com (HELO mail-wm0-f67.google.com) (74.125.82.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Jul 2018 22:37:08 +0000 Received: by mail-wm0-f67.google.com with SMTP id z13-v6so10683309wma.5 for ; Fri, 13 Jul 2018 15:37:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=qT0uz2WLdqGX8ttQzEbu44gAslEQaoY0COb0/guvWU0=; b=hUW+1EyzAVyyXYpb8tYJLmY/MaKdMZxSCUvgKRL+FSGFjhG2GoyeDgz3hkYSgeS5kb 3PCUzTkArJX88A0qYphfVyzi3xqdB5PNCrcAThT4+9mknKUGHkH+RB9eSfbfTRlukX9w drrZ1jSiC3yaS6yl6iYY+tsIzgVL7ScgakVfBMa7Rrbduk6Girl2/twSND301FAJgoj8 jmkiJ1tEBxAdNtjway6TFWKP/1rkAZCkMjMTPTpH1oWFUBDVewQ7yDqWvkrbUr5mruQ1 YrbaAsv/H+h27jQEz3f0oxi68sy3ctDymf9MHp8SPCxMCkUytb/+KxJ6C/cO3GVRvyVX JwXQ== Return-Path: Received: from localhost (host86-164-199-62.range86-164.btcentralplus.com. [86.164.199.62]) by smtp.gmail.com with ESMTPSA id t6-v6sm8076831wrn.97.2018.07.13.15.37.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Jul 2018 15:37:05 -0700 (PDT) Date: Fri, 13 Jul 2018 22:37:00 -0000 From: Andrew Burgess To: Tom Tromey Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] gdb: Add switch to disable DWARF stack unwinders Message-ID: <20180713223704.GA2888@embecosm.com> References: <20180713134629.27011-1-andrew.burgess@embecosm.com> <87tvp3ywsf.fsf@tromey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87tvp3ywsf.fsf@tromey.com> X-Fortune: High nuclear activity in your area. X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ] User-Agent: Mutt/1.9.2 (2017-12-15) X-IsSubscribed: yes X-SW-Source: 2018-07/txt/msg00434.txt.bz2 * Tom Tromey [2018-07-13 09:34:24 -0600]: > >>>>> "Andrew" == Andrew Burgess writes: > > Andrew> Add a maintenance command to disable the DWARF stack unwinders. > Andrew> Normal users would not need this feature, but it is useful to allow > Andrew> extended testing of fallback stack unwinding strategies, for example, > Andrew> prologue scanners. > > Andrew> gdb/ChangeLog: > > Maybe this should mention PR 8434, since it seems like part of that idea. PR8434: Add maintenance command to allow arbitrary unwinders to be enabled or disabled. That's interesting. I actually started working on a patch to do just that. In the end I stopped working on it because I was concerned that the change would be too big, and of too little use to justify merging. The smaller change I posted got me the result I needed in a much less intrusive change. That said, if there is a wider interest in having this ability I'm happy to dig out my old branch and get it ready for submission, but I'd only want to put that effort in if this was a feature people would like to see in GDB... Thanks, Andrew