From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23989 invoked by alias); 18 Aug 2012 20:03:41 -0000 Received: (qmail 23978 invoked by uid 22791); 18 Aug 2012 20:03:41 -0000 X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_NIX_SPAM,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 18 Aug 2012 20:03:15 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0M8Y00600VMP3G00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Sat, 18 Aug 2012 23:03:13 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M8Y0058NVPBE8C0@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Sat, 18 Aug 2012 23:03:11 +0300 (IDT) Date: Sat, 18 Aug 2012 20:03:00 -0000 From: Eli Zaretskii Subject: New warning in GDB 7.5 To: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <838vdcdl2q.fsf@gnu.org> 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/msg00518.txt.bz2 When starting GDB 7.5 from the src directory of the Emacs source tree, GDB now emits warnings that GDB 7.4.1 didn't: warning: Expression is not an assignment (and might have no effect) warning: Expression is not an assignment (and might have no effect) 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. Why was the new warning added? what problem(s) does it solve?