From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16850 invoked by alias); 26 Feb 2012 15:09:04 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 16839 invoked by uid 22791); 26 Feb 2012 15:09:02 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_BJ X-Spam-Check-By: sourceware.org Received-SPF: pass (google.com: domain of daniel.jacobowitz@gmail.com designates 10.213.110.15 as permitted sender) client-ip=10.213.110.15; Authentication-Results: mr.google.com; spf=pass (google.com: domain of daniel.jacobowitz@gmail.com designates 10.213.110.15 as permitted sender) smtp.mail=daniel.jacobowitz@gmail.com; dkim=pass header.i=daniel.jacobowitz@gmail.com MIME-Version: 1.0 In-Reply-To: <87hayio7ld.fsf@fleche.redhat.com> References: <20120201132307.GA32578@host2.jankratochvil.net> <87hayio7ld.fsf@fleche.redhat.com> Date: Sun, 26 Feb 2012 15:09:00 -0000 Message-ID: Subject: Re: Inter-CU DWARF size optimizations and gcc -flto From: Daniel Jacobowitz To: Tom Tromey Cc: Jan Kratochvil , archer@sourceware.org, Jakub Jelinek Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2012-q1/txt/msg00010.txt.bz2 On Wed, Feb 22, 2012 at 4:56 PM, Tom Tromey wrote: > Jan> (b) .gdb_index will have limited scope, only to select which > Jan> objfiles to expand, no longer to select which CUs to expand. > > I suspect we are going to need a better approach here anyway. > I sometimes hear about programs with more than 800 shared libraries. > If you assume separate debuginfo this means 1600 objfiles. > I think this will just crush most of the existing algorithms in gdb. You are correct, it does crush GDB :-) I routinely try - emphasis on try - to use GDB on programs with between 2500 and 5500 shared libraries. It's agonizing. I have another project I want to work on first, and not much time for GDB lately, but this is absolutely on my list to improve. -- Thanks, Daniel