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#53058: etc/DEBUG could say more about --enable-check-lisp-object-type Date: Fri, 07 Jan 2022 08:58:40 +0200 Message-ID: <835yqw6nhb.fsf@gnu.org> References: <87zgoi8xve.fsf@melete.silentflame.com> <83r19uim2q.fsf@gnu.org> <871r1uyq1i.fsf@athena.silentflame.com> <8335mahr8f.fsf@gnu.org> <87v8z4mh5g.fsf@melete.silentflame.com> <83v8z4eygg.fsf@gnu.org> <87pmpbm8j2.fsf@melete.silentflame.com> <83v8z2eizk.fsf@gnu.org> <87pmp9wyo3.fsf@melete.silentflame.com> <83r19pc8ax.fsf@gnu.org> <87v8yzb1v7.fsf@melete.silentflame.com> <83v8yy9ybv.fsf@gnu.org> <87lezsd8v0.fsf@melete.silentflame.com> <83iluw7hgc.fsf@gnu.org> <87v8ywbf73.fsf@melete.silentflame.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28282"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 53058@debbugs.gnu.org To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 07 07:59:27 2022 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 1n5jDj-0007EO-Hr for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Jan 2022 07:59:27 +0100 Original-Received: from localhost ([::1]:48736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n5jDh-0008T5-Hh for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Jan 2022 01:59:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5jDK-0008Ry-35 for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2022 01:59:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n5jDJ-0006UA-OY for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2022 01:59:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n5jDJ-0005VR-Og for bug-gnu-emacs@gnu.org; Fri, 07 Jan 2022 01:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Jan 2022 06:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53058 X-GNU-PR-Package: emacs Original-Received: via spool by 53058-submit@debbugs.gnu.org id=B53058.164153871321088 (code B ref 53058); Fri, 07 Jan 2022 06:59:01 +0000 Original-Received: (at 53058) by debbugs.gnu.org; 7 Jan 2022 06:58:33 +0000 Original-Received: from localhost ([127.0.0.1]:42880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5jCp-0005Tt-CS for submit@debbugs.gnu.org; Fri, 07 Jan 2022 01:58:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53226) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n5jCo-0005TR-Et for 53058@debbugs.gnu.org; Fri, 07 Jan 2022 01:58:30 -0500 Original-Received: from [2001:470:142:3::e] (port=38036 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n5jCj-0006Oy-39; Fri, 07 Jan 2022 01:58:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5HVXxDij89F0+SgXSNJnT8NxOkg8zmzgbvHdKMUSW1s=; b=U8oJlnEfp0kC 6wlBpipO0XIrFYS6T1VFrfncbcw1f3QNBbiS61+ScOCpZA0BVZSbn4pmlg36V4ojxSUiHsfJUQWvm Iui/s2652fQi4cJZSV7VZWwRc4rkA/0lRIRH2DBqrTDP/aJJRosf0cf6obi+6ehlOkXd8+MK/b69d Su+kn7aDjnNEh13YHE6ZfL6MPu6NvP9ugOd3LhezyzoqX3ZA2e+UFoVsUIBwW/bBQx7u9yc7pg0oF txcHZIhxzyqgnPNEZ4MrUTGLhH2/tSCzI1sPO2rJ8wrS3rolOcWN5GS5mX5tIufWD1SpVqBdKhijv YN+/U5w9HHwXa+GSYMXMzQ==; Original-Received: from [87.69.77.57] (port=3831 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 1n5jCj-00074H-4B; Fri, 07 Jan 2022 01:58:25 -0500 In-Reply-To: <87v8ywbf73.fsf@melete.silentflame.com> (message from Sean Whitton on Thu, 06 Jan 2022 16:46:24 -0700) 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:223764 Archived-At: > From: Sean Whitton > Cc: 53058@debbugs.gnu.org > Date: Thu, 06 Jan 2022 16:46:24 -0700 > > Hello, > > On Thu 06 Jan 2022 at 10:11PM +02, Eli Zaretskii wrote: > > >> From: Sean Whitton > >> Date: Thu, 06 Jan 2022 11:20:19 -0700 > >> > >> > Comparisons with structures, like foo == Qnil, aren't guaranteed to > >> > work in GDB. --enable-check-lisp-object-type makes Lisp objects be > >> > structures rather than simple scalar values. > >> > >> Thanks -- how about the attached? > > > > Thanks, but the text there is inaccurate: NILP should still work with > > structures, only == comparison probably won't. > > > > I'm actually not sure we should describe such subtleties in etc/DEBUG. > > Fair -- what do you think about just saying that certain gdb features > might not work, so one thing that you can try is to drop the flag? The > claim that it doesn't affect debugging at all is what threw me off > recently, so that's the thing I'd really like to improve, I guess. But it really doesn't affect the debugging. You just need to understand what it does, and if we describe this in etc/DEBUG, we'd need to describe gobs of other similar factoids about the various build options.