From unknown Thu Sep 11 15:11:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79341: 30.2; Outdated Python conditional in .gdbinit Resent-From: Jeremy Bryant Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Aug 2025 22:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 79341 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 79341@debbugs.gnu.org Cc: Paul Eggert X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.175650617231696 (code B ref -1); Fri, 29 Aug 2025 22:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Aug 2025 22:22:52 +0000 Received: from localhost ([127.0.0.1]:43625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1us7Uh-0008F5-Uz for submit@debbugs.gnu.org; Fri, 29 Aug 2025 18:22:52 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40586) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1us7Ue-0008Dw-Jv for submit@debbugs.gnu.org; Fri, 29 Aug 2025 18:22:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1us7UZ-0002Bl-8e for bug-gnu-emacs@gnu.org; Fri, 29 Aug 2025 18:22:43 -0400 Received: from out-184.mta0.migadu.com ([2001:41d0:1004:224b::b8]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1us7UW-00021f-Dd for bug-gnu-emacs@gnu.org; Fri, 29 Aug 2025 18:22:43 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1756506155; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=kuF4FY6MPswE6Agef9E2iqkz5rnq8dg10FtVJUM1hs8=; b=WqY0lRg7RlaXMf13RXNxvhs0lZ8RJno+4Hyh2TWdAzYto9ISPEopU1/Fa97gJOqWN2en61 xhkT2IfhrW/iAi1AUU+69wXiqlh4BcyH/Kj799S/k3IU3Gidx49c1LsBntbKOMjwwd18uT cDhMEwVxWeUxhQtI+1SXD0zUrw2dpBKgZ7TlUpb9TYgr0ela61nWvo+dIw/0iTcnSl3EN9 AlKFs+4qll9VjxInOMuOJ3DEAtaGv1LnPY4dAzketb7USXMaibjRUcspiZK/FnZcaI5yT6 KTrxQ5Ay6Qqa5C/RZ7x5AT3eTrXnZUWu1dJZdEbo5s3SKpRyaWMRWgju1OWgCw== From: Jeremy Bryant Date: Fri, 29 Aug 2025 23:22:32 +0100 Message-ID: <87cy8dn4yf.fsf@jeremybryant.net> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:1004:224b::b8; envelope-from=jb@jeremybryant.net; helo=out-184.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) 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: -0.1 (/) Dear Emacs developers, Paul, In .gdbinit, before the Python commands, we have this if statement. 2b91f3d1eac4 (Paul Eggert 2017-05-05 1334) # Omit pretty-printing in older (pre-7.3) GDBs that lack it. 2b91f3d1eac4 (Paul Eggert 2017-05-05 1335) if hasattr(gdb, 'printing'): According to https://sourceware.org/gdb/news/ GDB 7.3 was released in 2011. Whilst older Emacs versions may be used by users for a long time 'in the wild', it seems unlikely that a developer would use such an old GDB. It would simplify this part of .gdbinit if we could remove this whole if statement, and also make it more readable so we can add more Python commands for GDB for Emacs. Paul, any comments or suggestions, WDYT? From unknown Thu Sep 11 15:11:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79341: 30.2; Outdated Python conditional in .gdbinit Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Aug 2025 23:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79341 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jeremy Bryant Cc: 79341@debbugs.gnu.org X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.175651097013662 (code B ref -1); Fri, 29 Aug 2025 23:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Aug 2025 23:42:50 +0000 Received: from localhost ([127.0.0.1]:43714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1us8k5-0003YD-TP for submit@debbugs.gnu.org; Fri, 29 Aug 2025 19:42:50 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54034) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1us8k1-0003Wg-L0 for submit@debbugs.gnu.org; Fri, 29 Aug 2025 19:42:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1us8ju-0000Yw-VW for bug-gnu-emacs@gnu.org; Fri, 29 Aug 2025 19:42:38 -0400 Received: from mail.cs.ucla.edu ([131.179.128.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1us8jt-000212-2T for bug-gnu-emacs@gnu.org; Fri, 29 Aug 2025 19:42:38 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 99D783C2BE566; Fri, 29 Aug 2025 16:42:34 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id Fj09Mgaq091R; Fri, 29 Aug 2025 16:42:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id 6C54C3C306908; Fri, 29 Aug 2025 16:42:34 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu 6C54C3C306908 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1756510954; bh=34kXSDdQIu1AD+A2UEWeWgUTvELLzipEoOwEEj5FVgE=; h=Message-ID:Date:MIME-Version:To:From; b=A5SiRoHdKf+G2UVZQKaa13JXuTgAikvOUCd09SFQXHSTlBvKeHTXgr36LC/DT6MqT M5Z7di7LNKeI2Mcv7sYMi78O82D4hgF+pOJ+APLwatQRiHot5wMN889gSdZUj0JZG6 9z86U+5qXVNI+370qrcSGRCRe5nKOypBEztd+gVtWPgqd4NBdXL1QDhcfiEUvDHdcz huRxPTR6YdbUOD3qmBQQMBk8ORkcFWR7oRuj2+1khrVXMQeBP/pSaPsBXVLj/NzipW MEJEQHfQ29TPbFHO0N4LVzjQ8nU1AY0jOig31qdVkD4/V4AwgaYXY94FRzcOTTyPJA O9zis4pLmbJ4A== X-Virus-Scanned: amavis at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id Qhbvk3OACQ8K; Fri, 29 Aug 2025 16:42:34 -0700 (PDT) Received: from penguin.cs.ucla.edu (47-154-18-19.fdr01.snmn.ca.ip.frontiernet.net [47.154.18.19]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 4915D3C2BE566; Fri, 29 Aug 2025 16:42:34 -0700 (PDT) Message-ID: Date: Fri, 29 Aug 2025 16:42:34 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <87cy8dn4yf.fsf@jeremybryant.net> Content-Language: en-US From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <87cy8dn4yf.fsf@jeremybryant.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=131.179.128.66; envelope-from=eggert@cs.ucla.edu; helo=mail.cs.ucla.edu X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) On 2025-08-29 15:22, Jeremy Bryant wrote: > Whilst older Emacs versions may be used by users for a long time 'in the > wild', it seems unlikely that a developer would use such an old GDB. Unlikely but it happens. When I test on Solaris 10 sparc (admittedly an old platform, but still supported by Oracle), I use the GDB it supplies, which is GDB 6.2.1 (2004). > It would simplify this part of .gdbinit if we could remove this whole if > statement It's just a single "if" line, plus indenting some following lines. How much simplification would it really be if we removed one line and unindented the rest? From unknown Thu Sep 11 15:11:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79341: 30.2; Outdated Python conditional in .gdbinit Resent-From: Jeremy Bryant Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Aug 2025 17:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79341 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert Cc: 79341@debbugs.gnu.org X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17566623631271 (code B ref -1); Sun, 31 Aug 2025 17:47:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Aug 2025 17:46:03 +0000 Received: from localhost ([127.0.0.1]:55204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1usm7v-0000KK-11 for submit@debbugs.gnu.org; Sun, 31 Aug 2025 13:46:03 -0400 Received: from lists.gnu.org ([2001:470:142::17]:43766) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1usm7s-0000Jh-4I for submit@debbugs.gnu.org; Sun, 31 Aug 2025 13:46:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1usm7l-0003lm-72 for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2025 13:45:53 -0400 Received: from out-188.mta0.migadu.com ([2001:41d0:1004:224b::bc]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1usm7i-0000iy-8W for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2025 13:45:52 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1756662346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ueK7p8uBClZo5DQMJxHEigTcHokDSToIqQlYW5jDG6c=; b=q9mkV2wrbJ8jM5LzC8Lc2AO9EMObGoSEtZ4Eqd8ariR2oCkPicjx9jmQpBQfwoygNqM7rX FMR5slpsl/iCv08kuThF/0tGQAgkC+tnbZNteS7Y+LVKpE5XGE+VDt3QWcDk3cARF8dhjO gIMFfby14cRitp/abICeERMKpJWIs64tguPAjj+W4c5g5FMWfkmpJwtgQotBjXBz//TonR A7lhs/0wTOLRKAEopbS6vQU3fBsqTJNnhclP3c2y7F0EeiLzlmN3GD/ppbm9o2dhZ/f+Dg ZwF1f8sdZQ5S4VnIjA2FMQCVAz/g9LaoaH+tl6aKieg6zHl7bbJJIA4MQBzA7w== From: Jeremy Bryant In-Reply-To: (Paul Eggert's message of "Fri, 29 Aug 2025 16:42:34 -0700") References: <87cy8dn4yf.fsf@jeremybryant.net> Date: Sun, 31 Aug 2025 18:45:44 +0100 Message-ID: <87o6rvpepj.fsf@jeremybryant.net> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:1004:224b::bc; envelope-from=jb@jeremybryant.net; helo=out-188.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) 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: -0.1 (/) Paul Eggert writes: > On 2025-08-29 15:22, Jeremy Bryant wrote: >> Whilst older Emacs versions may be used by users for a long time 'in the >> wild', it seems unlikely that a developer would use such an old GDB. > > Unlikely but it happens. When I test on Solaris 10 sparc (admittedly > an old platform, but still supported by Oracle), I use the GDB it > supplies, which is GDB 6.2.1 (2004). OK, noted the use case. In that case, perhaps the time to stop supporting GDB 7 is 'not yet' >> It would simplify this part of .gdbinit if we could remove this whole if >> statement > > It's just a single "if" line, plus indenting some following lines. How > much simplification would it really be if we removed one line and > unindented the rest? Is this a fundamental change? No. It would be a fairly trivial amendment to your contribution, as you indeed describe, to improve readability a little. Should we wait? From unknown Thu Sep 11 15:11:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79341: 30.2; Outdated Python conditional in .gdbinit Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Aug 2025 18:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79341 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jeremy Bryant Cc: 79341@debbugs.gnu.org X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.175666639824142 (code B ref -1); Sun, 31 Aug 2025 18:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Aug 2025 18:53:18 +0000 Received: from localhost ([127.0.0.1]:55320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1usnAz-0006HJ-IW for submit@debbugs.gnu.org; Sun, 31 Aug 2025 14:53:17 -0400 Received: from lists.gnu.org ([2001:470:142::17]:39190) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1usnAw-0006Gw-6z for submit@debbugs.gnu.org; Sun, 31 Aug 2025 14:53:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1usnAp-00028x-GF for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2025 14:53:07 -0400 Received: from mail.cs.ucla.edu ([131.179.128.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1usnAn-0008Rb-Vz for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2025 14:53:07 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id E51383C2E8B7A; Sun, 31 Aug 2025 11:53:04 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10032) with ESMTP id BqfytmX5gUJ0; Sun, 31 Aug 2025 11:53:04 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id BB8703C306915; Sun, 31 Aug 2025 11:53:04 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu BB8703C306915 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1756666384; bh=QKIOzyB8CIWsnAWpR13/EWBETXm12C+FTzj0TK7ibDQ=; h=Message-ID:Date:MIME-Version:To:From; b=jyvYkZwRCL0QE4oosFhKhuGD4mf9IJuuV55Hj8qTT26eV5JwXVYP4TWfrx2R4s1F1 o51ZuYYi+oyJlEjfFWevq1/ZFQ5Bd0qjqKHp1OK7WE2lE696c1oaSMhq9ZSkvxx4lF J+4DTd7VN4zfJAX/lONlWf4fX3uAzrgDKtwmc0yJ3H0c0GdBs1CrdWh/9X5r9z7N/N BdgTCIjxeBojsz9BhUByX1yiAJmIxHeHBdw2t9ObjQK8+ztpeGMJm+e+RU8x5j8af7 dN+EmwJupjhtlwPo6ClQPlZ3vo2y3A/768N1IoLuPBo7PQlGo6FeUNm8uMMLZlgk7X 6Y0JQEIPkU1bA== X-Virus-Scanned: amavis at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavis, port 10026) with ESMTP id 3_RtXPE5Yqa4; Sun, 31 Aug 2025 11:53:04 -0700 (PDT) Received: from penguin.cs.ucla.edu (47-154-18-19.fdr01.snmn.ca.ip.frontiernet.net [47.154.18.19]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id 998F43C2E8B7A; Sun, 31 Aug 2025 11:53:04 -0700 (PDT) Message-ID: Date: Sun, 31 Aug 2025 11:53:03 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <87cy8dn4yf.fsf@jeremybryant.net> <87o6rvpepj.fsf@jeremybryant.net> Content-Language: en-US From: Paul Eggert Organization: UCLA Computer Science Department In-Reply-To: <87o6rvpepj.fsf@jeremybryant.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=131.179.128.66; envelope-from=eggert@cs.ucla.edu; helo=mail.cs.ucla.edu X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) 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: -0.0 (/) On 2025-08-31 10:45, Jeremy Bryant wrote: >>> It would simplify this part of .gdbinit if we could remove this whole if >>> statement >> It's just a single "if" line, plus indenting some following lines. How >> much simplification would it really be if we removed one line and >> unindented the rest? > Is this a fundamental change? No. It would be a fairly trivial > amendment to your contribution, as you indeed describe, to improve > readability a little. Should we wait? Sounds like we should wait, if peoplestill want to debug on Solaris 10. I'm not seeing enough improvement to readability (unindent by one level is not much of an improvement) to justify cutting off an otherwise-supported platform. From unknown Thu Sep 11 15:11:08 2025 X-Loop: help-debbugs@gnu.org Subject: bug#79341: 30.2; Outdated Python conditional in .gdbinit Resent-From: Jeremy Bryant Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Aug 2025 20:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 79341 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Paul Eggert , 79341-done@debbugs.gnu.org Cc: 79341@debbugs.gnu.org X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17566724789790 (code B ref -1); Sun, 31 Aug 2025 20:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Aug 2025 20:34:38 +0000 Received: from localhost ([127.0.0.1]:55433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1usol3-0002Xp-QS for submit@debbugs.gnu.org; Sun, 31 Aug 2025 16:34:38 -0400 Received: from lists.gnu.org ([2001:470:142::17]:48846) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1usol0-0002XW-AF for submit@debbugs.gnu.org; Sun, 31 Aug 2025 16:34:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1usokr-0005Fj-JN for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2025 16:34:27 -0400 Received: from out-189.mta0.migadu.com ([91.218.175.189]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1usokk-0008Mg-6b for bug-gnu-emacs@gnu.org; Sun, 31 Aug 2025 16:34:25 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1756672455; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JUqKlOi5PhOev6qMg2t4Vxd0NIF+HFZLOM1N0aYAHWo=; b=WnK6kOt2bJUnSRIVbowRuLnRV708DNg52r/NwZBFeUcHTSERC/V0M2qYite1vnWQJufT5r rYxV+Dw4nm5jrP4C0jH1dHp1UfjcD0upSWs4ATW5blT9Z/wVOWVw9BjkbIqZkrnGayf/b0 dLDdQoVajmHxuDmUxsPfJpu43miCmcqyl33hEOJ8hlfT5ggU0HMW9+BmYA8vt4CoZ1v4ib QCCaQgvi+kpMp5UWGNvig8dflAv23vkI43QeCQbb7E57gXu1JwZcBmsnrQ1KgupQLiFOwe SNViwz4FbE04CFu5Y1lE6rMnd2+g32UOAR9hsiqTJJMkM7aWnInLg4oCp2BSbw== From: Jeremy Bryant In-Reply-To: (Paul Eggert's message of "Sun, 31 Aug 2025 11:53:03 -0700") References: <87cy8dn4yf.fsf@jeremybryant.net> <87o6rvpepj.fsf@jeremybryant.net> Date: Sun, 31 Aug 2025 21:34:14 +0100 Message-ID: <87iki3p6wp.fsf@jeremybryant.net> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=91.218.175.189; envelope-from=jb@jeremybryant.net; helo=out-189.mta0.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) 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: -0.1 (/) Paul Eggert writes: > On 2025-08-31 10:45, Jeremy Bryant wrote: >>>> It would simplify this part of .gdbinit if we could remove this whole if >>>> statement >>> It's just a single "if" line, plus indenting some following lines. How >>> much simplification would it really be if we removed one line and >>> unindented the rest? >> Is this a fundamental change? No. It would be a fairly trivial >> amendment to your contribution, as you indeed describe, to improve >> readability a little. Should we wait? > > Sounds like we should wait, if peoplestill want to debug on Solaris > 10. I'm not seeing enough improvement to readability (unindent by one > level is not much of an improvement) to justify cutting off an > otherwise-supported platform. OK, we can revisit the suggestion at some future point. Closing the bug number for the time being. From unknown Thu Sep 11 15:11:08 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jeremy Bryant Subject: bug#79341: closed (Re: 30.2; Outdated Python conditional in .gdbinit) Message-ID: References: <87iki3p6wp.fsf@jeremybryant.net> <87cy8dn4yf.fsf@jeremybryant.net> X-Gnu-PR-Message: they-closed 79341 X-Gnu-PR-Package: emacs Reply-To: 79341@debbugs.gnu.org Date: Sun, 31 Aug 2025 20:35:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1756672502-9835-1" This is a multi-part message in MIME format... ------------=_1756672502-9835-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #79341: 30.2; Outdated Python conditional in .gdbinit which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 79341@debbugs.gnu.org. --=20 79341: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D79341 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1756672502-9835-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 79341-done) by debbugs.gnu.org; 31 Aug 2025 20:34:25 +0000 Received: from localhost ([127.0.0.1]:55429 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1usokr-0002XJ-Di for submit@debbugs.gnu.org; Sun, 31 Aug 2025 16:34:25 -0400 Received: from out-170.mta0.migadu.com ([2001:41d0:1004:224b::aa]:53712) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1usokp-0002X5-7i for 79341-done@debbugs.gnu.org; Sun, 31 Aug 2025 16:34:24 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1756672455; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JUqKlOi5PhOev6qMg2t4Vxd0NIF+HFZLOM1N0aYAHWo=; b=WnK6kOt2bJUnSRIVbowRuLnRV708DNg52r/NwZBFeUcHTSERC/V0M2qYite1vnWQJufT5r rYxV+Dw4nm5jrP4C0jH1dHp1UfjcD0upSWs4ATW5blT9Z/wVOWVw9BjkbIqZkrnGayf/b0 dLDdQoVajmHxuDmUxsPfJpu43miCmcqyl33hEOJ8hlfT5ggU0HMW9+BmYA8vt4CoZ1v4ib QCCaQgvi+kpMp5UWGNvig8dflAv23vkI43QeCQbb7E57gXu1JwZcBmsnrQ1KgupQLiFOwe SNViwz4FbE04CFu5Y1lE6rMnd2+g32UOAR9hsiqTJJMkM7aWnInLg4oCp2BSbw== From: Jeremy Bryant To: Paul Eggert , 79341-done@debbugs.gnu.org Subject: Re: 30.2; Outdated Python conditional in .gdbinit In-Reply-To: (Paul Eggert's message of "Sun, 31 Aug 2025 11:53:03 -0700") References: <87cy8dn4yf.fsf@jeremybryant.net> <87o6rvpepj.fsf@jeremybryant.net> Date: Sun, 31 Aug 2025 21:34:14 +0100 Message-ID: <87iki3p6wp.fsf@jeremybryant.net> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 79341-done Cc: bug-gnu-emacs@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: -1.0 (-) Paul Eggert writes: > On 2025-08-31 10:45, Jeremy Bryant wrote: >>>> It would simplify this part of .gdbinit if we could remove this whole if >>>> statement >>> It's just a single "if" line, plus indenting some following lines. How >>> much simplification would it really be if we removed one line and >>> unindented the rest? >> Is this a fundamental change? No. It would be a fairly trivial >> amendment to your contribution, as you indeed describe, to improve >> readability a little. Should we wait? > > Sounds like we should wait, if peoplestill want to debug on Solaris > 10. I'm not seeing enough improvement to readability (unindent by one > level is not much of an improvement) to justify cutting off an > otherwise-supported platform. OK, we can revisit the suggestion at some future point. Closing the bug number for the time being. ------------=_1756672502-9835-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Aug 2025 22:22:52 +0000 Received: from localhost ([127.0.0.1]:43625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1us7Uh-0008F5-Uz for submit@debbugs.gnu.org; Fri, 29 Aug 2025 18:22:52 -0400 Received: from lists.gnu.org ([2001:470:142::17]:40586) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1us7Ue-0008Dw-Jv for submit@debbugs.gnu.org; Fri, 29 Aug 2025 18:22:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1us7UZ-0002Bl-8e for bug-gnu-emacs@gnu.org; Fri, 29 Aug 2025 18:22:43 -0400 Received: from out-184.mta0.migadu.com ([2001:41d0:1004:224b::b8]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1us7UW-00021f-Dd for bug-gnu-emacs@gnu.org; Fri, 29 Aug 2025 18:22:43 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net; s=key1; t=1756506155; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=kuF4FY6MPswE6Agef9E2iqkz5rnq8dg10FtVJUM1hs8=; b=WqY0lRg7RlaXMf13RXNxvhs0lZ8RJno+4Hyh2TWdAzYto9ISPEopU1/Fa97gJOqWN2en61 xhkT2IfhrW/iAi1AUU+69wXiqlh4BcyH/Kj799S/k3IU3Gidx49c1LsBntbKOMjwwd18uT cDhMEwVxWeUxhQtI+1SXD0zUrw2dpBKgZ7TlUpb9TYgr0ela61nWvo+dIw/0iTcnSl3EN9 AlKFs+4qll9VjxInOMuOJ3DEAtaGv1LnPY4dAzketb7USXMaibjRUcspiZK/FnZcaI5yT6 KTrxQ5Ay6Qqa5C/RZ7x5AT3eTrXnZUWu1dJZdEbo5s3SKpRyaWMRWgju1OWgCw== From: Jeremy Bryant To: bug-gnu-emacs@gnu.org Subject: 30.2; Outdated Python conditional in .gdbinit Date: Fri, 29 Aug 2025 23:22:32 +0100 Message-ID: <87cy8dn4yf.fsf@jeremybryant.net> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:1004:224b::b8; envelope-from=jb@jeremybryant.net; helo=out-184.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Paul Eggert 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: -0.1 (/) Dear Emacs developers, Paul, In .gdbinit, before the Python commands, we have this if statement. 2b91f3d1eac4 (Paul Eggert 2017-05-05 1334) # Omit pretty-printing in older (pre-7.3) GDBs that lack it. 2b91f3d1eac4 (Paul Eggert 2017-05-05 1335) if hasattr(gdb, 'printing'): According to https://sourceware.org/gdb/news/ GDB 7.3 was released in 2011. Whilst older Emacs versions may be used by users for a long time 'in the wild', it seems unlikely that a developer would use such an old GDB. It would simplify this part of .gdbinit if we could remove this whole if statement, and also make it more readable so we can add more Python commands for GDB for Emacs. Paul, any comments or suggestions, WDYT? ------------=_1756672502-9835-1--