From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20202 invoked by alias); 16 Nov 2005 02:56:08 -0000 Received: (qmail 20185 invoked by uid 22791); 16 Nov 2005 02:56:06 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 16 Nov 2005 02:56:06 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1EcDSt-0007Ko-6h; Tue, 15 Nov 2005 21:56:03 -0500 Date: Wed, 16 Nov 2005 02:56:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: Ron McCall , gdb@sources.redhat.com Subject: Re: warning: (Internal error: pc 0xd00 in read in psymtab, but not in symtab.) Message-ID: <20051116025603.GA28168@nevyn.them.org> Mail-Followup-To: Jim Blandy , Ron McCall , gdb@sources.redhat.com References: <20051115204629.32845.qmail@web81206.mail.mud.yahoo.com> <8f2776cb0511151510p1d7fe81dl7aa7a6b439b4622@mail.gmail.com> <20051115232518.GA24754@nevyn.them.org> <8f2776cb0511151612g34ce97ccn9a6b5101615b49f5@mail.gmail.com> <20051116003812.GA25895@nevyn.them.org> <8f2776cb0511151733l3fe56256w22954ac8ba9afa7b@mail.gmail.com> <20051116025218.GA27921@nevyn.them.org> <8f2776cb0511151854s18acc3aaw8f612c3158089a15@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8f2776cb0511151854s18acc3aaw8f612c3158089a15@mail.gmail.com> User-Agent: Mutt/1.5.8i Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2005-11/txt/msg00311.txt.bz2 On Tue, Nov 15, 2005 at 06:54:12PM -0800, Jim Blandy wrote: > On 11/15/05, Daniel Jacobowitz wrote: > > If you're going to change the toolchain to solve this problem, this > > isn't the way to do it. Just put the .debug_info section in a COMDAT > > group with the section to be discarded. This should be a pretty > > trivial change nowadays, since the linker has grown proper COMDAT > > support. > > Okay. I was hoping to get an answer of the form "Don't bother .* COMDAT .*". :-) It's mostly a matter of (A) getting gcc to actually start using comdat where available, there were some hiccups last time we tried, and (B) teaching the dwarf writer how to partition debug info; no one really loves that code... -- Daniel Jacobowitz CodeSourcery, LLC