From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 934 invoked by alias); 19 May 2014 20:41:50 -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 889 invoked by uid 89); 19 May 2014 20:41:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 May 2014 20:41:49 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4JKfgT7011999 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 19 May 2014 16:41:42 -0400 Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s4JKfchG018447; Mon, 19 May 2014 16:41:38 -0400 Message-ID: <537A6C81.5040203@redhat.com> Date: Mon, 19 May 2014 20:41:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Gary Benson , Eli Zaretskii CC: gdb-patches@sourceware.org, aburgess@broadcom.com, xdje42@gmail.com, fw@deneb.enyo.de, mark.kettenis@xs4all.nl, tromey@redhat.com Subject: Re: [PATCH 2/2 v2] Demangler crash handler References: <20140519114801.GA31140@blade.nx> <83iop1dd8e.fsf@gnu.org> <20140519154822.GA20315@blade.nx> <8361l1d7yx.fsf@gnu.org> <20140519190530.GA22506@blade.nx> In-Reply-To: <20140519190530.GA22506@blade.nx> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2014-05/txt/msg00377.txt.bz2 Wouldn't a new "set debug demangle on" option, that would make GDB output: (gdb) bt / whatever-gdb-command-that-triggers-demangling demangling _ZN2CV1mEi ... CV::m(int) demangling _Zwhatever ... be just as helpful, and, even potentially be helpful to debug scenarios where GDB/libiberty might get the demangling wrong, but not cause a crash? Seems like a natural and easy sell to me. -- Pedro Alves