From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10750 invoked by alias); 9 Jun 2010 13:54:37 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 10715 invoked by uid 22791); 9 Jun 2010 13:54:34 -0000 X-SWARE-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org From: Dodji Seketeli To: tromey@redhat.com Cc: Project Archer , Jakub Jelinek Subject: Re: Fedora 14 debug proposal References: X-URL: http://www.seketeli.org/dodji Date: Wed, 09 Jun 2010 13:54:00 -0000 In-Reply-To: (Tom Tromey's message of "Tue, 08 Jun 2010 14:38:19 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2010-q2/txt/msg00033.txt.bz2 Tom Tromey writes: [...] > 2. Change GCC so that it no longer emits .debug_aranges, > .debug_pubnames, and .debug_pubtypes. > > From what I can tell, no program uses these sections. They just > waste space. > > Well... Fedora gdb does use .debug_aranges, but that use is replaced > by the index. .debug_aranges is a reasonable-enough section; it is > just that we really also need by-name indices to get good > performance, and having the whole index be mmap()able gives better > startup performance. > > I think .debug_pub* are pretty useless. GCC didn't even generate > pubtypes for years, and it had a lot of pubnames bugs... maybe it > still does. What this means is that we can't really make gdb rely on > them. Also, based on earlier experiments, reading these sections is > actually still too slow. The index is better. I can take this part if it helps. I guess at worst, upstream will require a flag to get the .debug_{pug,aranges,pubnames,pubtypes} section back for a little while before removing the code completely? -- Dodji