From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id qQvdI1BDT2oQTC0AWB0awg (envelope-from ) for ; Thu, 09 Jul 2026 02:44:32 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=KkSE0f+7; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 8D4881E098; Thu, 09 Jul 2026 02:44:32 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.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 153581E04F for ; Thu, 09 Jul 2026 02:44:32 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A8AA54BA2E35 for ; Thu, 9 Jul 2026 06:44:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8AA54BA2E35 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=KkSE0f+7 Received: from mail-yw1-x1131.google.com (mail-yw1-x1131.google.com [IPv6:2607:f8b0:4864:20::1131]) by sourceware.org (Postfix) with ESMTPS id E54DA4BA5436 for ; Thu, 9 Jul 2026 06:44:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E54DA4BA5436 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E54DA4BA5436 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::1131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1783579449; cv=none; b=VelkERHaDVnfAfanBHDrgPTheE7mu5Tvi4Bz7JtJCAmYEnl81SOoQiYSj99Yqp2xAg0SfiHS4gOnGHLccueWT67z8ECmPpxxhuKirJ/ufePLrh3Rmagri1GtjINkIvbe+FxdjBdV6dpccIF5DJr6DrMkJy+WrEF7XcOwsSIvMsA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1783579449; c=relaxed/simple; bh=pUvbpkQb2BsbX8nu9ZWjiuPN48xErABZVU7AhmpI+q8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=mMPTW3pSYk14mgUxqHLE8PnxiztdhCW6m9ICA+8648kIqDiiYgF5cF/Xrf8ha5QDW4i1Hm2fgTn4LlrhhXjABnWFPLICWjAe6nHFbs/Uo9XxfeZxDqYXi1sfIhLntJ9Rnut6h3NSqvwFshd1FZcbFk56JDTrp3kYfYUqreuKWck= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=KkSE0f+7 DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E54DA4BA5436 Received: by mail-yw1-x1131.google.com with SMTP id 00721157ae682-8114a4542b2so21442307b3.1 for ; Wed, 08 Jul 2026 23:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1783579448; x=1784184248; darn=sourceware.org; h=content-type:mime-version:message-id:date:user-agent:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=Is0SaIA/+Scc9gT6ZLi64IuW76HufIpEnUitshVu6TQ=; b=KkSE0f+7/eHf5CsnNdTmru9H9Z1/RoD7byVJcBWWEZ9/QfCUyb2qPXbHEhSf57jdsm TcW54AE1s2Kle3Px5YNHOvbb/fZCrTUTcAgO5g38iahn0GRkkGq3KJ5PP8kIcJBsUIzE 6vT+UrDIJGP3uR63UrQJwVTtFKw+ZCNZ9GlZ4I+Q2DEk3bg0kp+5MhA2nUhFb+3kQvNy hiqvYFY8SqEQFrn8FQK6Pi9vQTde25gLY0lGBketRdpb8TijM34O0YVQHqUTW8PVxLQV IOoE3/u9OdW2QkKv4wRDJPv+y7o7iiSL9yG7jSVInnmscv7en9h+40+MYUFcupF9xnS2 m+DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783579448; x=1784184248; h=content-type:mime-version:message-id:date:user-agent:references :in-reply-to:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=Is0SaIA/+Scc9gT6ZLi64IuW76HufIpEnUitshVu6TQ=; b=Hx/nJ5uo7rJ9L0wkSSCTxfI3i5Asj35H2BE5pxuVj1I12nnHU3NAG414pd2ojwAMTp tg9Kbx0FK63ssj55Hfmw0YQ9Oto9ka1r2WO2/kEX/H9Pfoj45h4u9ZkhtPk2M8U/U7fG LBhj/3zpnZTuNX5RL/MoU6vibxOr3I3Qgd+eLrbc7s2yHZRrXnEfMFCov79F37Jc+5Pl wD8VH704ZU0CLyEr07VNjvUMW4RpZhyAhYVrPGe3nF3N+UmJ+0Xl5Elfhxr6f7peSOSm F87GTR4N5PZtv6An7shj33UtenAwPVpLn+4ItryNk3tQL/GjmND3WswdcSzkouARfNkk 5A2w== X-Gm-Message-State: AOJu0YyFkgm6Z+0dt4wUqyEcKsho96+S9XPZRoNFVZi1SwM6Qjmm5+t8 KbcbtoCq42Rp/wBmw5LJQn68Bccq7sGtrhlZo/nnTGwa2o7z/r/mdc/IzpX8n5OtpG8= X-Gm-Gg: AfdE7ckqz4sfEnjUQk1Nn7K4b+IbHhTXrPNYszkmjkImjpuzbkO0GbWvAYsQE0NxPRY HznlriUjIL75hbBOtHUoUohtuuNs3hsVi69NFfqnjjTpUfRIPVeFJztdRYRaFhhrx5yuAVGRPDl ULBtloAY2kup6vTxYc55W4v2eScrSnbALy3dWQQJ3o/rtZ4JMuRHAF7zR+fxSvcmxWwCqMiOny9 WqkTX2dKreHBfP40FxF/htRUIC2vjVPnG1dDK/M/kZueE9GL8jZBIcY61kVPkcspxJNBSJNRxEp BCRfuI5T7hbKDRt/OUKTi8APO18CWmbBhxnhab2hEGEC5BSr9sTThRIMSxaImlnLBA9WTXg2qOY 1uZd7jIxMQrIC9X0wCPPfBD5TAEDtrDSdoWP8wqsmn+HaVj6a02jf0pzyiMOAeQu7tx4LhWsuIL rkuUhpJ5YF+m0rkfx0X0djbyA= X-Received: by 2002:a05:690c:b19:b0:81d:6eec:fe22 with SMTP id 00721157ae682-81dbe33d53bmr46951387b3.44.1783579448257; Wed, 08 Jul 2026 23:44:08 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8083:f04c:42e3:5943:38f6]) by smtp.gmail.com with ESMTPSA id 00721157ae682-81e6c1f11bbsm10591317b3.35.2026.07.08.23.44.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jul 2026 23:44:07 -0700 (PDT) From: Thiago Jung Bauermann To: Matthieu Longo Cc: , Luis Machado , Luis Machado , Andrew Burgess , "Yury Khrustalev" , Pedro Alves , "Tom Tromey" Subject: Re: [PATCH v1 10/10] gdb/linux: add helpers to read AT_HWCAP3 and AT_HWCAP4 In-Reply-To: <20260707154900.94542-11-matthieu.longo@arm.com> (Matthieu Longo's message of "Tue, 7 Jul 2026 16:49:00 +0100") References: <20260707154900.94542-1-matthieu.longo@arm.com> <20260707154900.94542-11-matthieu.longo@arm.com> User-Agent: mu4e 1.14.2; emacs 30.2 Date: Thu, 09 Jul 2026 06:44:05 +0000 Message-ID: <87mrw0zmq2.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain 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 Matthieu Longo writes: > Add linux_get_hwcap3 and linux_get_hwcap4 helpers to GDB and gdbserver, > mirroring the existing linux_get_hwcap and linux_get_hwcap2 interfaces. > > The new helpers retrieve the AT_HWCAP3 and AT_HWCAP4 auxiliary vector > entry either from explicitly supplied auxv data or from the current > inferior. > > This prepares for future features that depend on HWCAP3 and HWCAP4 > capability bits. > --- > gdb/linux-tdep.c | 38 ++++++++++++++++++++++++++++++++++++++ > gdb/linux-tdep.h | 22 ++++++++++++++++++++++ > gdbserver/linux-low.cc | 28 ++++++++++++++++++++++++++++ > gdbserver/linux-low.h | 8 ++++++++ > 4 files changed, 96 insertions(+) Reviewed-by: Thiago Jung Bauermann Like in the previous patch, there's nothing in this patch series that uses these helpers, so IMHO (other maintainers may disagree) it makes more sense if this patch is committed together with a patch that makes use of them. -- Thiago (he/him)