From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18468 invoked by alias); 6 Jun 2014 18:16:37 -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 18457 invoked by uid 89); 6 Jun 2014 18:16:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: albireo.enyo.de Received: from albireo.enyo.de (HELO albireo.enyo.de) (46.237.207.196) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 06 Jun 2014 18:16:34 +0000 Received: from [172.17.203.2] (helo=deneb.enyo.de) by albireo.enyo.de with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) id 1Wsygm-0005dv-7W; Fri, 06 Jun 2014 20:16:28 +0200 Received: from fw by deneb.enyo.de with local (Exim 4.80) (envelope-from ) id 1Wsygl-00064f-VR; Fri, 06 Jun 2014 20:16:27 +0200 From: Florian Weimer To: Gary Benson Cc: gdb-patches@sourceware.org, Andrew Burgess , Doug Evans , Eli Zaretskii , Mark Kettenis , Pedro Alves , Tom Tromey Subject: Re: [PATCH 3/3 v4] Demangler crash handler References: <20140605130140.GA20572@blade.nx> <20140605130358.GD20572@blade.nx> Date: Fri, 06 Jun 2014 18:16:00 -0000 In-Reply-To: <20140605130358.GD20572@blade.nx> (Gary Benson's message of "Thu, 5 Jun 2014 14:03:58 +0100") Message-ID: <87a99pewec.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00334.txt.bz2 * Gary Benson: > + sigaction (SIGSEGV, &sa, &old_sa); > + crash_signal = SIGSETJMP (gdb_demangle_jmp_buf); > + sigaction (SIGSEGV, &old_sa, NULL); That's quite a bit of additional work for each demangler invocation. Is this visible with things like tab completion?