From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29152 invoked by alias); 19 Aug 2012 18:07:09 -0000 Received: (qmail 29141 invoked by uid 22791); 19 Aug 2012 18:07:08 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 19 Aug 2012 18:06:55 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 883481C6D07; Sun, 19 Aug 2012 14:06:54 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bN-ch2HZHVmA; Sun, 19 Aug 2012 14:06:54 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 3BC6F1C699E; Sun, 19 Aug 2012 14:06:54 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 7C47714561A; Sun, 19 Aug 2012 11:06:47 -0700 (PDT) Date: Sun, 19 Aug 2012 18:07:00 -0000 From: Joel Brobecker To: Eli Zaretskii Cc: mark.kettenis@xs4all.nl, gdb-patches@sourceware.org Subject: Re: New warning in GDB 7.5 Message-ID: <20120819180647.GO2798@adacore.com> References: <838vdcdl2q.fsf@gnu.org> <20120818205543.GL2798@adacore.com> <837gsvewyh.fsf@gnu.org> <201208182149.q7ILnLb3017336@glazunov.sibelius.xs4all.nl> <83393jegz3.fsf@gnu.org> <20120819043652.GN2798@adacore.com> <83vcgeddsm.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83vcgeddsm.fsf@gnu.org> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2012-08/txt/msg00528.txt.bz2 > That would be nice, but I don't know of any way to do that. If you > look at Emacs's src/.gdbinit, you will see at its end that it needs > some symbols right at startup, when the program was not yet started. [...] > But what is its trigger? It's usually the first reference to the symbol. Basically, GDB does a quick-load of the debug info into partial symtabs (containing partial symbols), and upgrades it to full symtab/symbols when first referenced. > And will this transparent conversion kick in > when .gdbinit does the following? Maybe it does not ATM, but I don't see why it shouldn't. If it does not, I agree with Mark that this is suspicious. -- Joel