From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 02 23:21:51 2018 Received: (at submit) by debbugs.gnu.org; 3 Jan 2018 04:21:51 +0000 Received: from localhost ([127.0.0.1]:33713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWaYo-0008EZ-Oh for submit@debbugs.gnu.org; Tue, 02 Jan 2018 23:21:50 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWaYn-0008EP-4z for submit@debbugs.gnu.org; Tue, 02 Jan 2018 23:21:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWaYh-0006nQ-B3 for submit@debbugs.gnu.org; Tue, 02 Jan 2018 23:21:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59762) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eWaYh-0006nC-7T for submit@debbugs.gnu.org; Tue, 02 Jan 2018 23:21:43 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWaYg-0000CW-5f for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2018 23:21:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWaYb-0006bT-8X for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2018 23:21:42 -0500 Received: from pmta31.teksavvy.com ([76.10.157.38]:41492) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1eWaYb-0006aE-3N for bug-gnu-emacs@gnu.org; Tue, 02 Jan 2018 23:21:37 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2E8CgBtWUxa/2Obs2tdg29GgRSDbYtjj?= =?us-ascii?q?iYBgjMBglyWLwoThSIEhDNEFAEBAQEBAQEBAQNoKIYBXxMhARwNimW0MIpxhAy?= =?us-ascii?q?OaYUwBZM0kBqXMwGKCod1SJY7gTw2I4FPMhoIMIJnggMBC4JlI4kyAQEB?= X-IPAS-Result: =?us-ascii?q?A2E8CgBtWUxa/2Obs2tdg29GgRSDbYtjjiYBgjMBglyWLwo?= =?us-ascii?q?ThSIEhDNEFAEBAQEBAQEBAQNoKIYBXxMhARwNimW0MIpxhAyOaYUwBZM0kBqXM?= =?us-ascii?q?wGKCod1SJY7gTw2I4FPMhoIMIJnggMBC4JlI4kyAQEB?= X-IronPort-AV: E=Sophos;i="5.45,500,1508817600"; d="scan'208";a="16624484" Received: from 107-179-155-99.cpe.teksavvy.com (HELO ceviche.home) ([107.179.155.99]) by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jan 2018 23:21:35 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 541F266227; Tue, 2 Jan 2018 23:21:35 -0500 (EST) From: Stefan Monnier To: bug-gnu-emacs@gnu.org Subject: 27.0.50; xgettype (and friends) don't know about Lisp_Word Date: Tue, 02 Jan 2018 23:21:35 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Package: Emacs Version: 27.0.50 % cd .../emacs/src % gdb emacs (gdb) b main (gdb) r (gdb) xgettype Qnil Tells me "Argument to arithmetic operation not a number or boolean." `xbacktrace` says the same. This seems to be due to the recent change to the representation of List_Object. Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 03 01:40:51 2018 Received: (at 29957-done) by debbugs.gnu.org; 3 Jan 2018 06:40:51 +0000 Received: from localhost ([127.0.0.1]:33758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWcjL-0003V1-MB for submit@debbugs.gnu.org; Wed, 03 Jan 2018 01:40:51 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:51556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWcjJ-0003Uj-Eb for 29957-done@debbugs.gnu.org; Wed, 03 Jan 2018 01:40:50 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id F1641161583; Tue, 2 Jan 2018 22:40:42 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id ZqU3aZkR2ZvJ; Tue, 2 Jan 2018 22:40:42 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 3CFAB161581; Tue, 2 Jan 2018 22:40:42 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Cj4dcLJ2wBSc; Tue, 2 Jan 2018 22:40:42 -0800 (PST) Received: from [192.168.1.9] (unknown [47.154.30.119]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 188DF16157F; Tue, 2 Jan 2018 22:40:42 -0800 (PST) To: Stefan Monnier From: Paul Eggert Subject: Re: 27.0.50; xgettype (and friends) don't know about Lisp_Word Organization: UCLA Computer Science Department Message-ID: Date: Tue, 2 Jan 2018 22:40:41 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------483D23A27785659796B0B5E8" Content-Language: en-US X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 29957-done Cc: 29957-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --------------483D23A27785659796B0B5E8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Thanks for reporting that; I installed the attached. --------------483D23A27785659796B0B5E8 Content-Type: text/x-patch; name="0001-Fix-.gdbinit-to-work-with-Lisp_Word.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Fix-.gdbinit-to-work-with-Lisp_Word.patch" >From f8b4e87d5d4f57954b50677add76ce5136211dc1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 2 Jan 2018 22:38:01 -0800 Subject: [PATCH] Fix .gdbinit to work with Lisp_Word Problem reported by Stefan Monnier (Bug#29957). * src/.gdbinit (xgetptr, xgetint, xgettype): Cast Lisp_Word value to EMACS_INT, since it might be a pointer now. --- src/.gdbinit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/.gdbinit b/src/.gdbinit index de35ef1..a5411e6 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -49,7 +49,7 @@ define xgetptr else set $bugfix = $arg0 end - set $ptr = $bugfix & VALMASK + set $ptr = (EMACS_INT) $bugfix & VALMASK end define xgetint @@ -58,7 +58,7 @@ define xgetint else set $bugfix = $arg0 end - set $int = $bugfix << (USE_LSB_TAG ? 0 : INTTYPEBITS) >> INTTYPEBITS + set $int = (EMACS_INT) $bugfix << (USE_LSB_TAG ? 0 : INTTYPEBITS) >> INTTYPEBITS end define xgettype @@ -67,7 +67,7 @@ define xgettype else set $bugfix = $arg0 end - set $type = (enum Lisp_Type) (USE_LSB_TAG ? $bugfix & (1 << GCTYPEBITS) - 1 : (EMACS_UINT) $bugfix >> VALBITS) + set $type = (enum Lisp_Type) (USE_LSB_TAG ? (EMACS_INT) $bugfix & (1 << GCTYPEBITS) - 1 : (EMACS_UINT) $bugfix >> VALBITS) end define xgetsym -- 2.7.4 --------------483D23A27785659796B0B5E8-- From unknown Mon Jun 23 13:12:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 31 Jan 2018 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator