From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 894 invoked by alias); 19 Aug 2012 02:46:43 -0000 Received: (qmail 885 invoked by uid 22791); 19 Aug 2012 02:46:42 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout21.012.net.il (HELO mtaout21.012.net.il) (80.179.55.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 19 Aug 2012 02:46:27 +0000 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M8Z00G00E8B2O00@a-mtaout21.012.net.il> for gdb-patches@sourceware.org; Sun, 19 Aug 2012 05:46:25 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M8Z00FVPEDDUA80@a-mtaout21.012.net.il>; Sun, 19 Aug 2012 05:46:25 +0300 (IDT) Date: Sun, 19 Aug 2012 02:46:00 -0000 From: Eli Zaretskii Subject: Re: New warning in GDB 7.5 In-reply-to: <201208182149.q7ILnLb3017336@glazunov.sibelius.xs4all.nl> To: Mark Kettenis Cc: brobecker@adacore.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83393jegz3.fsf@gnu.org> References: <838vdcdl2q.fsf@gnu.org> <20120818205543.GL2798@adacore.com> <837gsvewyh.fsf@gnu.org> <201208182149.q7ILnLb3017336@glazunov.sibelius.xs4all.nl> X-IsSubscribed: yes 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/msg00524.txt.bz2 > Date: Sat, 18 Aug 2012 23:49:21 +0200 (CEST) > From: Mark Kettenis > CC: brobecker@adacore.com, gdb-patches@sourceware.org > > > > Are these really doing anything? > > > > Yes. They force GDB to read the symbol table of a couple of object > > files, so the symbols from those files are known to GDB. That is > > needed for several commands in the file to work right from the start > > of the debugging session. > > Sounds like a workaround for a bug in GDB to me. I always thought lazy loading of symbols was a feature, not a bug.