From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#12036: 24.1.50; xvectype and xpr broken by change in PVEC_TYPE_MASK when macro information not available Date: Thu, 26 Jul 2012 11:46:08 -0700 Organization: UCLA Computer Science Department Message-ID: <50119070.8090101@cs.ucla.edu> References: <83eho2z6q4.fsf@gnu.org> <50110A8E.7030101@cs.ucla.edu> <83sjcejwao.fsf@gnu.org> <83obn2jt77.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1343328444 11485 80.91.229.3 (26 Jul 2012 18:47:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2012 18:47:24 +0000 (UTC) Cc: 12036@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 26 20:47:24 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SuT5g-00074f-D4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 20:47:16 +0200 Original-Received: from localhost ([::1]:40063 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuT5f-0002EW-QP for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 14:47:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:60096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuT5c-0002Av-Ez for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2012 14:47:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuT5b-0000dJ-2g for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2012 14:47:12 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuT5a-0000dF-VR for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2012 14:47:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SuTCE-0004UI-SF for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2012 14:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Jul 2012 18:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12036 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12036-submit@debbugs.gnu.org id=B12036.134332878317161 (code B ref 12036); Thu, 26 Jul 2012 18:54:02 +0000 Original-Received: (at 12036) by debbugs.gnu.org; 26 Jul 2012 18:53:03 +0000 Original-Received: from localhost ([127.0.0.1]:41477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuTBG-0004Sk-RX for submit@debbugs.gnu.org; Thu, 26 Jul 2012 14:53:03 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:50463) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuTBF-0004SL-6A for 12036@debbugs.gnu.org; Thu, 26 Jul 2012 14:53:02 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 3AD24A60003; Thu, 26 Jul 2012 11:46:08 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YIrLde-NfyxW; Thu, 26 Jul 2012 11:46:07 -0700 (PDT) Original-Received: from [192.168.1.4] (pool-108-23-119-2.lsanca.fios.verizon.net [108.23.119.2]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 8EA6AA60002; Thu, 26 Jul 2012 11:46:07 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:14.0) Gecko/20120714 Thunderbird/14.0 In-Reply-To: <83obn2jt77.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62433 Archived-At: Thanks, I didn't run into those problems since I tested by debugging when the symbols happened to be in scope. I reproduced some of the problems and installed a fix as trunk bzr 109219. However, there's one thing I couldn't reproduce: On 07/26/2012 11:03 AM, Eli Zaretskii wrote: > Breakpoint 3, decode_any_window (window=54888269) at window.c:149 > 149 if (NILP (window)) > (gdb) n > 152 CHECK_WINDOW (window); > (gdb) p window > $1 = 54888269 > (gdb) xtype > Lisp_Vectorlike > No enum type named pvec_type. I expect that I don't have this problem because the bug has been fixed in my tools (GCC 4.7.1 + GDB 7.4.1). I tried to work around the problem by putting this line into lisp.h: PUBLISH_TO_GDB ((enum pvec_type) 0); /* This also publishes PVEC_*. */ but I can't easily test this, since my tools don't have the problem. Could you please try it? And if it doesn't work, could you please try adding lines like this: PUBLISH_TO_GDB (PVEC_TYPE_MASK); for values like PVEC_TYPE_MASK that do not otherwise work for you? Thanks.