From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#49261: 28.0.50; File Locking Breaks Presumptuous Toolchains Date: Thu, 08 Jul 2021 19:47:10 +0300 Message-ID: <83y2agda7l.fsf@gnu.org> References: <87o8bn7bie.fsf@gnus.org> <87zgv6vuon.fsf@gmx.de> <837di9lwbm.fsf@gnu.org> <87a6n5vuu4.fsf@gnus.org> <8735sqnmei.fsf@gnus.org> <87zguyf4ht.fsf@gmx.de> <87pmvum54p.fsf@gnus.org> <87v95mf2lj.fsf@gmx.de> <87pmvt3ob1.fsf@gnus.org> <83r1g9evoy.fsf@gnu.org> <83pmvtevgg.fsf@gnu.org> <87czrt3mj4.fsf@gnus.org> <878s2h3m1d.fsf@gnus.org> <874kd53lnl.fsf@gnus.org> <87zgux26ab.fsf@gnus.org> <83k0m1e3dg.fsf@gnu.org> <875yxlugcb.fsf@gnus.org> <8335spdjy5.fsf@gnu.org> <878s2hszcx.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10872"; mail-complaints-to="usenet@ciao.gmane.io" Cc: michael.albinus@gmx.de, ncaprisunfan@gmail.com, 49261@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 08 19:23:56 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1Xkh-0002f7-Sz for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jul 2021 19:23:55 +0200 Original-Received: from localhost ([::1]:55166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1Xkg-0004OV-Th for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 08 Jul 2021 13:23:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1XBy-0001qv-54 for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 12:48:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m1XBx-0002IZ-ME for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 12:48:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m1XBx-00077d-M9 for bug-gnu-emacs@gnu.org; Thu, 08 Jul 2021 12:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Jul 2021 16:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49261 X-GNU-PR-Package: emacs Original-Received: via spool by 49261-submit@debbugs.gnu.org id=B49261.162576285226872 (code B ref 49261); Thu, 08 Jul 2021 16:48:01 +0000 Original-Received: (at 49261) by debbugs.gnu.org; 8 Jul 2021 16:47:32 +0000 Original-Received: from localhost ([127.0.0.1]:57354 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1XBU-0006z0-Ak for submit@debbugs.gnu.org; Thu, 08 Jul 2021 12:47:32 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m1XBR-0006sR-DM for 49261@debbugs.gnu.org; Thu, 08 Jul 2021 12:47:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43844) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m1XBL-00028C-SQ; Thu, 08 Jul 2021 12:47:23 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1282 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m1XBK-00025Q-VX; Thu, 08 Jul 2021 12:47:23 -0400 In-Reply-To: <878s2hszcx.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu, 08 Jul 2021 15:34:54 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209701 Archived-At: > From: Lars Ingebrigtsen > Cc: michael.albinus@gmx.de, ncaprisunfan@gmail.com, 49261@debbugs.gnu.org > Date: Thu, 08 Jul 2021 15:34:54 +0200 > > Eli Zaretskii writes: > > > Which means unfortunately that to see the form one needs to display > > the form piecemeal, one member at a time, using the xtype and the > > other x* commands... Let me know if you need more detailed > > instructions. > > Yes, that'd be appreciated. Well, you did it (almost) correctly: > (gdb) xtype form > Lisp_Cons > (gdb) xcons form > $2 = (struct Lisp_Cons *) 0x7ffff211c260 > { > u = { > s = { > car = XIL(0x2aaa9c41a9e0), > u = { > cdr = XIL(0), > chain = 0x0 > } > }, > gcaligned = 0xe0 > } > } > (gdb) xcar form > $3 = 0x0 > (gdb) xcdr form > $4 = 0x0 What you need to do is this: (gdb) xtype Lisp_Cons (gdb) xcons $2 = (struct Lisp_Cons *) 0x7ffff211c260 { u = { s = { car = XIL(0x2aaa9c41a9e0), u = { cdr = XIL(0), chain = 0x0 } }, gcaligned = 0xe0 } } (gdb) p $2->u.s.car (gdb) xtype And after the second "xtype" continue with the x* command according to the type. Your mistake was to use an argument after xcons, xcar, and xcdr: these should be invoked without an argument, immediately after printing a Lisp_Object variable. Like this: (gdb) p form (gdb) xcar (gdb) p form (gdb) xcdr etc. > Which doesn't seem ... right? No, but the real form has a non-nil 'car', see above. So that does look valid, at least at this level. The invalid part probably comes when you recurse deeper into 'form'.