From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2530 invoked by alias); 24 Nov 2010 21:37:47 -0000 Received: (qmail 2497 invoked by uid 22791); 24 Nov 2010 21:37:46 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_BJ,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 24 Nov 2010 21:37:41 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oAOLbId9015186 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 24 Nov 2010 16:37:18 -0500 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oAOLbHsn011545; Wed, 24 Nov 2010 16:37:17 -0500 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id oAOLbG0L013330; Wed, 24 Nov 2010 16:37:17 -0500 Received: by opsy.redhat.com (Postfix, from userid 500) id 3C132378884; Wed, 24 Nov 2010 14:37:15 -0700 (MST) From: Tom Tromey To: Joel Brobecker Cc: Jan Kratochvil , gdb-patches@sourceware.org Subject: Re: [patch 2/2] iFort compat.: case insensitive symbols (PR 11313) References: <20101108183133.GE2933@adacore.com> <20101122035334.GA9229@host0.dyn.jankratochvil.net> <20101122185432.GT2634@adacore.com> <20101122191905.GA20976@host0.dyn.jankratochvil.net> <20101122193041.GU2634@adacore.com> <20101122194336.GA21855@host0.dyn.jankratochvil.net> <20101124192228.GA8368@host0.dyn.jankratochvil.net> <20101124200747.GC2634@adacore.com> Date: Wed, 24 Nov 2010 21:37:00 -0000 In-Reply-To: <20101124200747.GC2634@adacore.com> (Joel Brobecker's message of "Wed, 24 Nov 2010 12:07:47 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 X-SW-Source: 2010-11/txt/msg00414.txt.bz2 Tom> Actually I was specifically thinking of just the separate debuginfo Tom> case. In this case wouldn't the primary objfile always have the Tom> minsyms? Joel> What if the primary objfile was completely stripped, though? We could easily check for that when we read the separate debuginfo. Jan> Whether .symtab (=ELF symbols=minimal symbols) is present in the primary Jan> objfile or the separate debug info objfile depends on this switch. Jan> For almost all the Fedora packages .symtab is in the separate debug Jan> info file. glibc (not sure if anything else) has an exception it Jan> has .symtab still in the primary binary file. (I do not agree much Jan> with such exception myself.) I think both files have .dynsym though. And AFAIK we end up with two copies of these minsyms. One or the other seems unneeded. Tom