From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id EfEdO0yuKGkxkDkAWB0awg (envelope-from ) for ; Thu, 27 Nov 2025 15:02:20 -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=OR0B764Z; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id ED4C51E048; Thu, 27 Nov 2025 15:02:20 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.4 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_DNSWL_MED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED, RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 5ED651E048 for ; Thu, 27 Nov 2025 15:02:20 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5179D385841F for ; Thu, 27 Nov 2025 20:02:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5179D385841F 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=OR0B764Z Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id CE8573858D1E for ; Thu, 27 Nov 2025 20:01:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CE8573858D1E 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 CE8573858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764273700; cv=none; b=SCxfQFE1h91HrgbpFtw7ilXCielPxKbrtFCVK0mLrIM5VBarfW0ajOXhwfvAqI9qUQLtP8SLNoA/kS6Bvuh0kDa4CJZJd/ERoH/n4d61IbRTXEjW1kLZUEESVxtiZFkqmu9UYUr1mv+Y0IjZRhQYdGRlW5gyYHqOtJRHkKXPTQc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1764273700; c=relaxed/simple; bh=Uy/xXJqGranTOqQXIiSALxaS0P8xJMCpSdL8uVusPpg=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=GzdNbPOY8XCTikvhC2KypMwBMvkwfG1YTF/otyC6kgVsrm1tckgE0YMtfs4e0YadWOomAz3PdaWjCHsmvvhDe3f1O9Ye+Y4wmE6WojjPNp0hgDv1Ne5n/WWvdWqVchQ1tMCyhm3GpdcHI/0MrSRBv7nXecfWJBy2ub/YsGbXILg= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CE8573858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1764273700; 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=0/XVzuFMqNtvJjLkSXH5gV04t7NRNVMRgGbpj2EWEfo=; b=OR0B764Z1HteoLWrspclohUbccFEtDyF86y9d9hpjDTqCn/lD2gvdwmfYnJuKGO1lhxe75 0iuMJMKXRY1JvxpZNuX7gFdwj/T0sfsCFU4RgGv1R4uSzkAp1a+wN/jQPdjjLbjA0+8yN3 AkzJJPrhlLwiwKURKBFn6Rnk4w/mQzI= 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-549-bsRqXX6bO62jDYQKQ8cGHQ-1; Thu, 27 Nov 2025 15:01:39 -0500 X-MC-Unique: bsRqXX6bO62jDYQKQ8cGHQ-1 X-Mimecast-MFC-AGG-ID: bsRqXX6bO62jDYQKQ8cGHQ_1764273698 Received: by mail-pl1-f198.google.com with SMTP id d9443c01a7336-2956a694b47so15114195ad.1 for ; Thu, 27 Nov 2025 12:01:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764273698; x=1764878498; 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=0/XVzuFMqNtvJjLkSXH5gV04t7NRNVMRgGbpj2EWEfo=; b=GS7RPsiNO98pnaW1VIvIYZtJsCKfXeriNZvhuYWH9hwhQLk5TguvI9zJXTyXrsYR5B twPHk0Mo/riVKIHlwz7CedZ52g9JGs+oQg7+7W6FxEPdO4BVutjLVg4dyWIVb9xwZ63T fac11IRsthcbs47sXqrF6bOQjWXjaIRn9tum4wIteE/GtQ0oy7Mec0rQ7naky/pfAjzk UaermegcGaACFNQ7UEyxMyKkQtb51vrD012Lu2RCL92QZekUKKqViBbxPFzzZnnnl45o QyNCpsyvCUEjq0gOPy/0t61Xq7sixgcMf7X8aM+2eNBdZSLAGvn7GqvOr90s2d6XqX9e 47tw== X-Forwarded-Encrypted: i=1; AJvYcCXIg8I7T6umVnEZf8NomNai4oqatTd/wCeuu0O1LmDKUIIjzR/kXTNBxMzyD4+FFyT6riRARbjY8IYMFw==@sourceware.org X-Gm-Message-State: AOJu0Yx7OlM9DZuda1i0jx0BSZfQOgiS3TwjLQewa78qtEzefdkFQWS8 xLMopPYtu4hPo1lv2vh2FAx0EE3ydEUZ+T2LpEE+B4YAs9HaqaSGMIF3DJzsrJLaQdpP7yWeByo F+89qdWYwb5FtkcYQZNGXt+mpofyfPUQgphgYOPAj2jXQEgQIkJbFCudi/iHzX+4= X-Gm-Gg: ASbGncvV1dFfjrcD4A7vV29SB5dMjK2uC0P5VBF9QQACAUQx5lJG6bnji2eqIrtqa/d qxoyHFrS9w3rrLGsdlvIDNO9b17fVDo5fSPNztCrkYmM+32Gf0vvzcc+8jEmesOhL8wIvx90k5J 1REyDfdVpVJhhpNDn0qJv44vhqossk0zITLr/tLCcIKjjP/bifkQZfRFmINXwZc+hp26e1AL9Ni Vkip5zsOVR55Kmg+ogCxFzc3Bgz5WVS7gzWqd90GB71z+l/vdCsP7nB7us89xFCo0fYo/cQcCTo IRuQtsQq/tXzVopwbnweULpixsOrlk+PhdMYoi3iEnYsLOYLRU4XQ59F2sqMHfTE4HiEgBrXLLm PeDQ8Hyr5Gfrj1cPLRUVFNQ== X-Received: by 2002:a17:903:4b47:b0:295:738f:73fe with SMTP id d9443c01a7336-29bab167de2mr141713645ad.30.1764273697912; Thu, 27 Nov 2025 12:01:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IGDnOp9VCZei9dOjEsT2NgSSFcSUhIFUJ41GPhGD+hF2k18FXPplDVkVouck3RT618UwTKVsA== X-Received: by 2002:a17:903:4b47:b0:295:738f:73fe with SMTP id d9443c01a7336-29bab167de2mr141713405ad.30.1764273697430; Thu, 27 Nov 2025 12:01:37 -0800 (PST) Received: from ?IPV6:2804:14d:8084:9a69::1004? ([2804:14d:8084:9a69::1004]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29bce4415b1sm24843655ad.22.2025.11.27.12.01.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 27 Nov 2025 12:01:37 -0800 (PST) Message-ID: Date: Thu, 27 Nov 2025 17:01:33 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/2] gdb: introduce command "info architecture" To: "Maciej W. Rozycki" Cc: Eli Zaretskii , gdb-patches@sourceware.org References: <20251106194514.1857177-1-guinevere@redhat.com> <20251106194514.1857177-2-guinevere@redhat.com> <865xbmb7z2.fsf@gnu.org> <9c11ee0a-d4f6-4628-8aaf-e2e317e871bb@redhat.com> From: Guinevere Larsen In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: jsSENb2BcHQG2w3PXuBsAyfAxw-xd_U_IVOtJTRoyuA_1764273698 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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/7/25 11:25 PM, Maciej W. Rozycki wrote: > On Fri, 7 Nov 2025, Guinevere Larsen wrote: > >>> Thanks. The documentation parts are okay (with one nit, see below), >>> but I'm struggling to understand what you mean by "CPU >>> microarchitectures". And without examples, I cannot even guess. >>> Would it be possible to expand on that in the manual, or at least >>> provide a could of examples of what the output will look like? >> A CPU architecture is something like "arm" or "x86". The microarchitecture is >> changes within that architecture, like "armv3", "armv4", "armv3m" and so on. > I don't think it's correct, not at least it's the definition I've been > taught. In my dictionary microarchitecture is a particular implementation > of a given architecture with all its properties, such as instruction > latencies, the execution units and pipeline stages, the existence or the > lack of specific pipeline dependencies, and so on and so on. > > I can't comment on ARM particulars as I'm not very familiar with them, > but offhand "armv3" or "armv4" seem to me to be architecture revisions > rather than microarchitectures. > > In MIPS terms MIPS is the target architecture, MIPS32r2 is a particular > architecture revision ("mips:isa32r2" in terms of `set architecture') and > 24Kf or 74Kf are microarchitectures, both implementing the MIPS32r2 > architecture. > > Cf. for an overview. > > I think the GDB manual has been pretty correct in its "architecture" term > usage. > > Maciej > Ah, I guess I must have misunderstood microarchitecture somewhere along the way. So, would it be correct for me to describe the command as listing the "architectures" that GDB supports? -- Cheers, Guinevere Larsen It/she