From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24254 invoked by alias); 20 Aug 2012 15:01:27 -0000 Received: (qmail 24243 invoked by uid 22791); 20 Aug 2012 15:01:26 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Mon, 20 Aug 2012 15:01:13 +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.14.4/8.14.4) with ESMTP id q7KF1ADp001747 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Aug 2012 11:01:10 -0400 Received: from barimba (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q7KF183t016021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 20 Aug 2012 11:01:09 -0400 From: Tom Tromey To: Eli Zaretskii Cc: Joel Brobecker , mark.kettenis@xs4all.nl, gdb-patches@sourceware.org Subject: Re: New warning in GDB 7.5 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> Date: Mon, 20 Aug 2012 15:01:00 -0000 In-Reply-To: <83vcgeddsm.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 19 Aug 2012 19:52:57 +0300") Message-ID: <878vd9ip57.fsf@fleche.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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/msg00542.txt.bz2 >>>>> "Eli" == Eli Zaretskii writes: Eli> Here, GDB needs to know what is Lisp_String and Lisp_Symbol, and also Eli> the various bit masks used by xgetptr (defined earlier in the file). I think it will all just work. And, Mark is right, if it doesn't work, it is a gdb bug. It seems to work ok for me. For example: barimba. gdb -nx ./src/emacs [...] (gdb) p (struct Lisp_Symbol *) 0 $1 = (struct Lisp_Symbol *) 0x0 It works similarly with Lisp_String. Could you try commenting out the "set" lines in your .gdbinit and then see if something doesn't work? Tom