From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5938 invoked by alias); 4 Jun 2014 10:21:44 -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 5922 invoked by uid 89); 4 Jun 2014 10:21:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout25.012.net.il Received: from mtaout25.012.net.il (HELO mtaout25.012.net.il) (80.179.55.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Jun 2014 10:21:42 +0000 Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0N6N00K002JC5L00@mtaout25.012.net.il> for gdb-patches@sourceware.org; Wed, 04 Jun 2014 13:18:14 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6N00LWQ3ADDQ20@mtaout25.012.net.il>; Wed, 04 Jun 2014 13:18:14 +0300 (IDT) Date: Wed, 04 Jun 2014 10:21:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 0/2 v3] Demangler crash handler In-reply-to: <20140604100755.GA7570@blade.nx> To: Gary Benson Cc: gdb-patches@sourceware.org, aburgess@broadcom.com, xdje42@gmail.com, fw@deneb.enyo.de, mark.kettenis@xs4all.nl, palves@redhat.com, tromey@redhat.com Reply-to: Eli Zaretskii Message-id: <8338fl7z67.fsf@gnu.org> References: <20140604100755.GA7570@blade.nx> X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00146.txt.bz2 > Date: Wed, 4 Jun 2014 11:07:55 +0100 > From: Gary Benson > Cc: Andrew Burgess , Doug Evans , Eli Zaretskii , Florian Weimer , Mark Kettenis , Pedro Alves , Tom Tromey > > I would push both patches as one commit. The news file entries > for the commit would be: > > * New options > > maint set catch-demangler-crashes (on|off) > maint show catch-demangler-crashes > Control whether GDB should attempt to catch crashes in the symbol > name demangler. The default is to attempt to catch crashes. If > enabled, the first time a crash is caught, a core file is created, > the offending symbol is displayed and the user is presented with > the option to terminate the current session. > > maint set demangler-warning quit (yes|no|ask) > When GDB catches a crash in the symbol name demangler it can offer > the user the opportunity to both quit GDB and create a core file of > the current GDB session. These options control whether or not to > do either of these. The default is to create a core file and to ask > the user whether to quit. > > * New commands > > maint demangler-warning > Cause GDB to call the internal function demangler_warning and > hence behave as though an internal error in the demangler has > been detected. > > Is this ok to commit? The above is too detailed for NEWS. Do not just copy the text from the manual, but instead provide a very short (preferably a single-sentence) summary of the new option. Thanks.