From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id ORm1OlEElGmOej4AWB0awg (envelope-from ) for ; Tue, 17 Feb 2026 01:01:53 -0500 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=yUPbJFwz; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id E99F01E0BA; Tue, 17 Feb 2026 01:01:53 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.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,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 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 7E9421E089 for ; Tue, 17 Feb 2026 01:01:52 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 095E44BA23E8 for ; Tue, 17 Feb 2026 06:01:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 095E44BA23E8 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=yUPbJFwz Received: from mail-vk1-xa2c.google.com (mail-vk1-xa2c.google.com [IPv6:2607:f8b0:4864:20::a2c]) by sourceware.org (Postfix) with ESMTPS id E29A14BA23E8 for ; Tue, 17 Feb 2026 06:01:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E29A14BA23E8 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 E29A14BA23E8 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::a2c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771308071; cv=none; b=rSKVW8woF7pfoRAq2DM+CJB3UCC5pjLY7Iq2gHtLpPn5xjqnl1er+OV6TP5FczpMgVWNUXyC1ORdXVVRpf2XE9WS5fmIKhWIrCbOFL+YgQ2F6xtoUsWDj2beHEoi7CxJCyaE8zc7a2o1HZrme9gbWhsBP0HwjRCPwGLCJzj/ecI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1771308071; c=relaxed/simple; bh=AM29Be/ZnGGnX9ReBEm9WDqtC7UZYypasn+VjU+qBkg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=t3F3VFDu1Hv/Hdtx3vHw875WPY+CtoThzDAe9HLmpnJGPl1whQkQSg/j6oS4ZFTHRdITMU/6BpzCBjoakKtzgPKZ73AoWqVY/C+vc1aj8g94RZvdG7jjRVSnJfYbBVPHeyvD/HBDgalkSS6Fzg6cRiOMUZ/NgDNmyUgnHBTzrDM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E29A14BA23E8 Received: by mail-vk1-xa2c.google.com with SMTP id 71dfb90a1353d-56641200d6eso3613941e0c.0 for ; Mon, 16 Feb 2026 22:01:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1771308070; x=1771912870; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BWl/ZaeBecfvN3U1P/GSUZi2Vz66vc/KGqEsP4Gg9ZU=; b=yUPbJFwzsmac3xTjHlQXGV0TEyHsCOuPWg/bcWDbBIQyP+jOyxQIqt0m5IoAb0igru LPhYbxoCcLYgo94MyNxZ6cIi/AUDtURZGg4C1jgLsQLmEAL8wDsNqkcqQv57Urh3tCCh gW9OeOsXtk2NSdlBFtDVIOMif96zoPLSiN/Rf97qwdIJkY8aadBycm/YwLtFCCsRj8Tc EGogM5WUZ5sPbsGT/rX6kg94e3udcwLw5JkUwpS+3wzFQ6RTYKve8nl28D5eMqvieC2w n3zghV6nvQHbnObPn3KO/oKEuvOX0aMJzv5w/+lEdJDgwnpjgHXmnQnWZV+tDukW9kaO ux2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771308070; x=1771912870; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BWl/ZaeBecfvN3U1P/GSUZi2Vz66vc/KGqEsP4Gg9ZU=; b=pgBKmZSmlOGRpHPuyaYydm/1zJTDMZusGklMiyw+PjiSGLhadWwmBLVzJ85hIJLayk 5KPRsDXbTcEx1QpHhAAG+JjH0HenaEQL+hahr8nCZ2kxOOBPsqS0I0ufzQTwEuKV1F6i RftLbvVRvD5mylhz522qi/suZQevrZlNpKvROj4x+7nKrS5KKI+8HgnFo23OlQ3xPVkO JoKAEIJJyTb8HVEHuJNjFfTE6/rCDXJCRcaNYJ1+2g3M8vdedOeX1apqmP4zkJbP/Wr3 VZxJ3dc1/JMeAblG5dvuACTNCT/mOmuxYFzgur9gx6LRwK9fuu3yVzpCBacLT6igerpr s45A== X-Gm-Message-State: AOJu0YxxXZLXM5OwYGvtDNBvXJXl3TF0cHGFgbg1yeo7xix8I3xaELtk oy0hglKLpfxIENRMYVXYmOAQQlgEowwq6M2neAfCnoeyW4IQmhfV07cskuXbrlQK/BasLXYib7C TlyY/ X-Gm-Gg: AZuq6aIaiOUzBUXQo+gA6npQOWngP1WGXu1/m2G58+oqCkapGscglmsuomM8npwd9vo 1EkD3VKlur/fMEy96qb4LqcmAAYAYGZVtbxMhy5wrChLkOuIGn2kGhtYTMmb5mj5Xb5N3E2Lacd 8ya+RNd/WssLNB2wMVXDqA3lth6nio+Bvth21CMAjgwJVqRTMcQGjU1yG4nqs5ORn+8Ewhv3TNq 2qV9FHk5UyWIHGagpstKxLu2Xj8BDu4vbQIqW+lYt506OMNicmCHLtLXK9fpmj5v8RQE+/u85fJ 0ELjaGYeDrkl5uzdmxMs5BsVuEx32yut3tedO4MQBQTpqcOQBcRcMZYTcJNpeEAeJA1tl6PF/u3 /n2EhRF8eGHemVVZwpsUzpPH519DyIsAwRPs47otsvalN77UeZQKY5syEPVAnXN1Zul0zYNRVtE lWxfFtnOGUamRQqRBmISIG+RTe7Nb7Yctpqg== X-Received: by 2002:a05:6122:1351:b0:566:35ab:90ec with SMTP id 71dfb90a1353d-56889b55617mr3937491e0c.3.1771308070346; Mon, 16 Feb 2026 22:01:10 -0800 (PST) Received: from localhost ([2804:14d:7e39:8083:f04c:42e3:5943:38f6]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-5674c20a6b8sm8497706e0c.10.2026.02.16.22.01.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Feb 2026 22:01:09 -0800 (PST) From: Thiago Jung Bauermann To: gdb-patches@sourceware.org Cc: Chris Packham , Luis , Tom Tromey , Simon Marchi Subject: [PATCH v3 0/4] GDB: aarch64-linux: Some header fixes Date: Tue, 17 Feb 2026 03:00:58 -0300 Message-ID: <20260217060106.1906312-1-thiago.bauermann@linaro.org> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 Patch 4 fixes the problem I set out to fix in v1¹ and v2². Patches 1 and 2 are new in v3 and add new feature-specific AArch64 headers in gdb/arch as suggested by Luis in his review o v2. Patch 3 is v2's patch 1 and grew out of Simon's patch review of v1, where he noted that files in gdb/arch/ shouldn't depend on arch-specific include files. Thiago Jung Bauermann (4): GDB: Add gdb/arch/aarch64-pauth-linux.h GDB: Add gdb/arch/aarch64-fpmr-linux.h GDB: aarch64-linux: Move definition of struct user_gcs GDB: aarch64-linux: Fix build failure on musl systems gdb/Makefile.in | 3 +++ gdb/aarch64-linux-nat.c | 5 +++- gdb/aarch64-linux-tdep.c | 9 ++++--- gdb/aarch64-linux-tdep.h | 6 ----- gdb/arch/aarch64-fpmr-linux.h | 28 +++++++++++++++++++++ gdb/arch/aarch64-gcs-linux.h | 17 ++----------- gdb/arch/aarch64-pauth-linux.h | 31 ++++++++++++++++++++++++ gdb/arch/aarch64.h | 8 ------ gdb/nat/aarch64-gcs-linux-ptrace.h | 39 ++++++++++++++++++++++++++++++ gdbserver/linux-aarch64-low.cc | 10 ++++---- gdbsupport/config.in | 3 +++ gdbsupport/configure | 36 +++++++++++++++++++++++++++ gdbsupport/configure.ac | 19 +++++++++++++++ 13 files changed, 176 insertions(+), 38 deletions(-) create mode 100644 gdb/arch/aarch64-fpmr-linux.h create mode 100644 gdb/arch/aarch64-pauth-linux.h create mode 100644 gdb/nat/aarch64-gcs-linux-ptrace.h ¹ https://inbox.sourceware.org/gdb-patches/20260211045853.1436881-1-thiago.bauermann@linaro.org/ ² https://inbox.sourceware.org/gdb-patches/20260214045504.361392-1-thiago.bauermann@linaro.org/