From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7265 invoked by alias); 14 May 2014 09:13:39 -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 7244 invoked by uid 89); 14 May 2014 09:13:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 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; Wed, 14 May 2014 09:13:37 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s4E9DXbl028442 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 14 May 2014 05:13:33 -0400 Received: from blade.nx (ovpn-116-68.ams2.redhat.com [10.36.116.68]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id s4E9DTW8011529; Wed, 14 May 2014 05:13:32 -0400 Received: by blade.nx (Postfix, from userid 1000) id E8B3E26234A; Wed, 14 May 2014 10:13:27 +0100 (BST) Date: Wed, 14 May 2014 09:13:00 -0000 From: Gary Benson To: Tom Tromey Cc: Florian Weimer , Mark Kettenis , gdb-patches@sourceware.org Subject: Re: [PATCH 0/2] Demangler crash handler Message-ID: <20140514091327.GC4974@blade.nx> References: <20140509100656.GA4760@blade.nx> <201405091120.s49BKO1f010622@glazunov.sibelius.xs4all.nl> <87fvkhjqvs.fsf@mid.deneb.enyo.de> <20140513102223.GC17805@blade.nx> <87ppjhilni.fsf@mid.deneb.enyo.de> <20140513192228.GC26575@blade.nx> <8738gdh3og.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8738gdh3og.fsf@fleche.redhat.com> X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00194.txt.bz2 Tom Tromey wrote: > Florian> More worrisome would be the occasional demangling as part > Florian> of other tasks, where the context switches might become > Florian> very visible. > > Gary> It probably is bulk, though I don't know for sure. You could > Gary> probably rearrange GDB to demangle a whole object file or CU's > Gary> symbols at once. > > It could perhaps be done but I think it would be non-trivial. > Usually in gdb whatever is calling the demangler intends to use > the result right away. Yeah, it wouldn't be trivial, but it's probably doable. Cheers, Gary -- http://gbenson.net/