From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id l70NKVDHLWkQUwwAWB0awg (envelope-from ) for ; Mon, 01 Dec 2025 11:50:24 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ONugLkw9; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 9B7981E0B6; Mon, 01 Dec 2025 11:50:24 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=no autolearn_force=no version=4.0.1 Received: from sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id D45391E08D for ; Mon, 01 Dec 2025 11:50:23 -0500 (EST) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4CC7E48FD841 for ; Mon, 1 Dec 2025 16:50:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4CC7E48FD841 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=ONugLkw9 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 547BF48FDB26 for ; Mon, 1 Dec 2025 16:49:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 547BF48FDB26 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 547BF48FDB26 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764607798; cv=none; b=cbCmhAy/zY58L6bxmMCwxc1cs0GVh4/A63erHDQJ+mOkR3Lba9sD126yd14pGjjhTjPGEEo5d0qfiMEn19C7ZnSapBp0j5Zenz3Kyv45ZlpjFop6plwJ2zIylUxqDXpNBPsyQKq5xjngxdkeOZhiuT/ECtRvCV5EGEAIwAqTCVw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764607798; c=relaxed/simple; bh=kmnS8mrGijgnuU7EZFYn4njEDc7F4V0xmLbb83IZk7E=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=d685RFs3VFkS0kZXo5JmkTMd98A3FDDuI5sQTvYA7m+gO8Lie96K1G85GNp49MHO0cZmJ86URho7BM/LEDMLhfEmdgLTHD9f/pyXUSHBp8DgNPqKcTV6ZKnAgF30BRMvRQdTJIbERMnsdfdc2DdCOM2uDE1H/n0WI7++6jKuqIM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 547BF48FDB26 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1764607798; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dTIWJhiV/Q2F786i/MlCEk3Fx4uJY2Wik8/Jj0qzOFA=; b=ONugLkw95xzXUO+QkcGgdxERkRDHPcduDQWT8HolNpSIonel1lvQV4ELzBajBswhi8kHzY XSoKPhj+hhXfj8o4Qtoxg6jNCcRKaKz1mG58Wcwaq5bzZmYSt4ATxYwktlZNGR0NsfD9Bm FXzEfYLl7C0wqHOrew+JunfESlVXWgc= Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-354-eM602IBEN46sWyr8V_XhqQ-1; Mon, 01 Dec 2025 11:49:57 -0500 X-MC-Unique: eM602IBEN46sWyr8V_XhqQ-1 X-Mimecast-MFC-AGG-ID: eM602IBEN46sWyr8V_XhqQ_1764607796 Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-29848363458so82096515ad.2 for ; Mon, 01 Dec 2025 08:49:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764607796; x=1765212596; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dTIWJhiV/Q2F786i/MlCEk3Fx4uJY2Wik8/Jj0qzOFA=; b=ei3MSoa4EJcR2CEAy05cnRVfGi4NVrQVWT/Yiw9mXjoMGr0sVBJH/fmjmfQDsFvQCC ZGloHJg2CVyHIHgX2Rb44BYArn+aBhGLcvDQgIGbPbv43ozwYmwcLtEQTVMzJgT0Xt2D z+Zfw+EebUyKjYgMokDNcgVTWrv4KhYTB5dOEFdGb6ZUdl5qKcWWkAqNxAgjSkdlGFb8 eg/CMfuuEyYKXx3N2tlhaE9y+BRWXDzoBTREq+yfGbPAu9xirza/SXgjLOW8x2fGR5gS C2p8aAgO1shmzK6Hf8sogaFrLPuWCMuqdKw3ajpKIxaIyDWzThnSUKy+qTEZ90i0Z5NN bJ9Q== X-Gm-Message-State: AOJu0YzNkSGgEifi/Bfau6NsqmUMaSZZ5F8DMLFGxObIbCTmuZQ3T/5N d8zxSpvB31dZ0fpHDvZLYuVDLY0OTCPar1NpgQiGji0Dy5ENLSuAVossW729U8nDzAsA7lUNjIU NvNa+B75oacDNMnokzGfbEhdza+D3yfooPUN1IyFKFW4ohhwD90aQBoCMkJroEzo= X-Gm-Gg: ASbGncuZJfeUFRrTxrjXyG4yz7cbAShh5IfRc602YudrGekmD/ZUZrJlrmc8Uxq0vmt f93ZBHx0+knkM9hXy7kYYA4iz2H0IzN/gPRmyg2askSB+L+8MfLvmfGUdSVt+pRR/gOC/auleHd dNFeu7Tlj/Q7IUOK8HXKak/EDLxsIfag3xZRf3wqsP0oW0WG6QdsDzj30OqJD/VMLyTO8BVb6oN /Bgqpmy/FC+0EHRnhgj/CvS3efRZzxrDorzQ0YfGJbd4gSmUHYdhoSB9xY/IBO3KtkNP2Av4j69 l5bx2EKLkagKB2rA3uuFJ1+tdMQ6Tn2nTOR0HsvU1w+ac0chEfiYjxipswkIj+05lZ/uny/Bhrh cqEw79BuBxOaT0RxpSGENow== X-Received: by 2002:a17:903:3845:b0:298:6a79:397b with SMTP id d9443c01a7336-29b6bf80914mr440753235ad.56.1764607795778; Mon, 01 Dec 2025 08:49:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGVrVBT9SZDq3u2py54h9e7st9U751PlinmjU9hzQLvqIn2ZQP8vru2G6sWisurugJcfe/SkQ== X-Received: by 2002:a17:903:3845:b0:298:6a79:397b with SMTP id d9443c01a7336-29b6bf80914mr440752975ad.56.1764607795250; Mon, 01 Dec 2025 08:49:55 -0800 (PST) Received: from ?IPV6:2804:14d:8084:9a69::1002? ([2804:14d:8084:9a69::1002]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29bce41afe1sm126797045ad.1.2025.12.01.08.49.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Dec 2025 08:49:54 -0800 (PST) Message-ID: <0630021f-50ff-4bee-8e0e-d1020b20adb5@redhat.com> Date: Mon, 1 Dec 2025 13:49:52 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] gdb: introduce command "info architecture" To: "Maciej W. Rozycki" Cc: gdb-patches@sourceware.org References: <20251106194514.1857177-1-guinevere@redhat.com> <20251106194514.1857177-2-guinevere@redhat.com> <67dc2271-4c15-42d1-bd1a-d77e2cd1e6df@redhat.com> <676535c1-9276-4ee0-87e8-fc9b0d7a78bb@redhat.com> From: Guinevere Larsen In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: otIYa7sitmtj0dkXQhDfiWw25jrKXtlC_k2tPKtrSns_1764607796 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 11/28/25 6:20 AM, Maciej W. Rozycki wrote: > On Thu, 27 Nov 2025, Guinevere Larsen wrote: > >>> Is it the semantics documented in the manual since forever (search for it >>> and when it appeared there) that you disagree with? I don't know what >>> `info unwinder' is about, but maybe someone got it wrong too and it should >>> be a `show' subcommand instead. >> I know that this is what the manual and the help text say about "info", but >> that's not how the command has been used since at least the 1999 commit: >> >> commit c906108c21474dfb4ed285bcc0ac6fe02cd400cc (tag: gdb-4_18-branchpoint) >> Author: Stan Shebs >> Date:   Fri Apr 16 01:35:26 1999 +0000 >> >>     Initial creation of sourceware repository >> >> in which the commands "info copying" and "info warranty" were added. The show >> version of these commands were only added in 2011. > I can't help with that. Also clearly the inconsistency has been noticed > and fixed (with the old commands retained for backwards compatibility). > That doesn't mean we ought to create more inconsistencies. > > NB the repo goes far beyond 1999 (refer commit 1730ec6b1848 for earlier > history), although those older commits are often inconsistent owing to CVS > conversion issues, and there were clear attempts to get this sorted long > before and somehow lost in the mist of history. E.g. commit a7d50b0adfcd, > commit a3bb247ef0a2, commit 440d9834411b, and many more (search for "info > warranty"). FWIW myself I've used GDB since 1994. > > Maciej > I ended up talking to Andrew off-list about this, and he provided what I think should be a better solution than either of our suggestions. We could update the help text for the "set architecture" command to list the options instead of introducing a new command. I'll work on this and send a v2 when I can -- Cheers, Guinevere Larsen It/she