From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2808 invoked by alias); 18 Aug 2012 21:49:45 -0000 Received: (qmail 2799 invoked by uid 22791); 18 Aug 2012 21:49:44 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 18 Aug 2012 21:49:31 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id q7ILnN6M001311; Sat, 18 Aug 2012 23:49:23 +0200 (CEST) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id q7ILnLb3017336; Sat, 18 Aug 2012 23:49:21 +0200 (CEST) Date: Sat, 18 Aug 2012 21:49:00 -0000 Message-Id: <201208182149.q7ILnLb3017336@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: eliz@gnu.org CC: brobecker@adacore.com, gdb-patches@sourceware.org In-reply-to: <837gsvewyh.fsf@gnu.org> (message from Eli Zaretskii on Sun, 19 Aug 2012 00:01:26 +0300) Subject: Re: New warning in GDB 7.5 References: <838vdcdl2q.fsf@gnu.org> <20120818205543.GL2798@adacore.com> <837gsvewyh.fsf@gnu.org> 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/msg00521.txt.bz2 > Date: Sun, 19 Aug 2012 00:01:26 +0300 > From: Eli Zaretskii > > > Date: Sat, 18 Aug 2012 13:55:43 -0700 > > From: Joel Brobecker > > Cc: gdb-patches@sourceware.org > > > > > These come from the following 2 lines in src/.gdbinit: > > > > > > # Force loading of symbols, enough to give us VALBITS etc. > > > set main > > > # With some compilers, we need this to give us struct Lisp_Symbol etc.: > > > set Fmake_symbol > > > The comments explain why they are needed. > > > > 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.