From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 100531 invoked by alias); 24 Feb 2016 21:22:25 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 100521 invoked by uid 89); 24 Feb 2016 21:22:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= 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 (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 24 Feb 2016 21:22:21 +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 (Postfix) with ESMTPS id 35B2963151; Wed, 24 Feb 2016 21:22:20 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-55.ams2.redhat.com [10.36.116.55]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u1OLMGfr032616 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 24 Feb 2016 16:22:18 -0500 Date: Wed, 24 Feb 2016 21:22:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: Simon Marchi , Tom Tromey , gdb@sourceware.org Subject: Re: Multi-threaded dwarf parsing Message-ID: <20160224212215.GA18820@host1.jankratochvil.net> References: <2c38d5c574de28faa9fc94fe4ed17d45@simark.ca> <56CD8EC0.3010304@redhat.com> <87lh6a6s8s.fsf@tromey.com> <20160224202519.GA10251@host1.jankratochvil.net> <56CE1C56.9010208@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56CE1C56.9010208@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00028.txt.bz2 On Wed, 24 Feb 2016 22:10:46 +0100, Pedro Alves wrote: > On 02/24/2016 08:25 PM, Jan Kratochvil wrote: > > If really your concern are psymtabs then use Tom's .gdb_index: > > gdb/contrib/gdb-add-index.sh > > I think the index isn't so helpful if the big thing that takes a > while to read/load is what you're changing in a edit/compile/debug > cycle. I found it useful even during edit/compile/debug cycles. If one modifies an .h file the compilation step takes up to a few minutes anyway so that is a non-interactive step. Moreover it is done only once, one may debug it more times then etc. > Sounds like something that could be sped up by reading CUs in parallel. Yes; going to discuss it in another mail. Jan