From patchwork Thu Oct 26 00:47:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thiago Jung Bauermann X-Patchwork-Id: 738304 Delivered-To: patch@linaro.org Received: by 2002:adf:f842:0:b0:32d:baff:b0ca with SMTP id d2csp561964wrq; Wed, 25 Oct 2023 17:47:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE4QtvIxL199YzFph/efj6Grv22/WBOqJdIoY75GFEE4Xdz5voZutYaXBy2l+HwPwITotPE X-Received: by 2002:a05:622a:18c:b0:41b:b7ff:2342 with SMTP id s12-20020a05622a018c00b0041bb7ff2342mr18276365qtw.44.1698281272136; Wed, 25 Oct 2023 17:47:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698281272; cv=pass; d=google.com; s=arc-20160816; b=JzQisjdZ0E6fg7kKbIuj4/UF99GYTKJ66V7dWy4pFxfCYNN1fwLCaGM33miDrtMV3q 3heN6YszZ4TOxa9Bbl8FxoHgTfEhIhDFKwAZXQ8EHQhuDdvRS3oOg/h+Y9ddH+K1V2SM i99gtRmrUsWpsYr4EwVaYsoU9o3zfEHTaWBunXpKqa71YoekMyxKJU7nHP/V/sLQkWiq dozvp6OQ/AGgPF7QXMmqLNOhWJ6EL1+9R2iCBRO0V2JN9N93pkB2068hEu1JmtYbZJ9h 9FRBGlF364A2kPbwgDFOOwe9h/eqMqKaEPWqEdGebJ6xBFCO2m7KFmUd5309vKPaZHkS 9sdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=RzId5Wpep4cvOT/utVSetxsbSlFxDu6php2sgxXi9Ug=; fh=72kqq0iQhigvR9Vv/oqX5ebs3Yyyw7XhzWxOOEPdupI=; b=qZzEfKcXLV5KVwbjI2wLkzd8a5v98KSKr8CRyeObeZRL9+DQwJ/CJNfTHka+pYsSQi fIGFL7tQEiJqglhS0uYgbCPTRjRSypbBf1NuCyEdypGM2qiDG9Kowkq/EtfwzsUsIpn5 L46KpJAL7SdXSG90w6MbAfisH5iGmYrNcqmo81By0H5Whv8m5T3O/HgrJam7e5dpIxOX o+mBWqSfcJzbFIWNdK8OOlDZfzbapWOyyJgxtE20bY/dl25O0Y8sODFjCoGhiJEYgAUo Ate7FijkP/3b+5ZbOcgfTG3nwdvXORsVRnlTOF5DIFwyfPiiagqrMB5xVknPb/KWeG4x HC6A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nIc6aGax; arc=pass (i=1); spf=pass (google.com: domain of gdb-patches-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gdb-patches-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id 7-20020ac85947000000b0041cb4580d20si9114731qtz.352.2023.10.25.17.47.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 17:47:52 -0700 (PDT) Received-SPF: pass (google.com: domain of gdb-patches-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nIc6aGax; arc=pass (i=1); spf=pass (google.com: domain of gdb-patches-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gdb-patches-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B909A385702F for ; Thu, 26 Oct 2023 00:47:51 +0000 (GMT) X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id CCB553858C31 for ; Thu, 26 Oct 2023 00:47:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CCB553858C31 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 CCB553858C31 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::62a ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698281255; cv=none; b=BHHECEXY063ZsmqMjTplpvABZU5gymA2MkmkxzzkuRt8ErSVVZpJHTI8Pp+0Tz+8Lcs9T5FyvWGaAxT+a78QTxYOkD5dizRX0djDhHfSlVvpHp/3BnvXBHVXUadZPEvI5GcItdwm5J2uLFH009Cexee4A2nW/JBm4RPKMP0f08k= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698281255; c=relaxed/simple; bh=HRZNfpgu5qwjQGMHDRToG0QVCpdH/g0vMgVuMRcM8mI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=GHLMkjSJYf0LoV2W8aqs/rKoE7HVY3VT4U5SaBhgudJ+ePfyG0nZKdj6L+yC19nqNwhklTbGNh3vSvHBbwFglJaDRp2S8+D5//+F8tIMf6H8FJWYRNMjs+dcp2mST0e9+R1d9BfLzIPa1tcLiklkPEhtDsxBl+5pFMT4VHXO2Fc= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1c9d407bb15so2602035ad.0 for ; Wed, 25 Oct 2023 17:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698281253; x=1698886053; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=RzId5Wpep4cvOT/utVSetxsbSlFxDu6php2sgxXi9Ug=; b=nIc6aGax6ab9OK2A1H2NcgnNVihAfjKSItxS4f7CYEgXn9OeV5vkPg4dJk6ehiXGef HYxZ3R9W5jqOT2PgScAKiujgKavespYRHWFQjzi3wafLu/y0yXJA2sdXhLOPxZjmJQ4M 8LgIX16rxJzH8h/Ba8mXzJdWPQ+DRM6LqzAF+KywJ+W8jUGR4fQR8gJpCjgYVMbMHtBn dtenejDcR4GWfq/n9LkuqVkpaBJsoi02KPlj3ws/Zk/Muu4hQSsJm34B6d+O0ngsOQzy +Cbq7bKop/dGs2s9P20GYJ4jLicQBBbMdJTJpeYyeSXOrIAhG/+nz7ZQSDvCunoZDhAf nbdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698281253; x=1698886053; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RzId5Wpep4cvOT/utVSetxsbSlFxDu6php2sgxXi9Ug=; b=rNzd8r7xpa8BzneUg+m66efgA3wjch9ZeHGBFtqmS0llPFsyfw8D7w0erd+eLRlZve 98TiB+iuKlGzfL1U3kHRPpWDEU9TlVNrDiqGUC9bWJzrji/6VZMNzu5Ry44osvbdDEZc DEn4k4e98EWfpGc7bgGtjQ/0u2DV5zVjNc0A7gWb+JP1wI5iEYB0EMa8EglRHuNTYfu4 lxkBSJ7urY2v1GJ6L3ZwtfCXBu4/hVorlquLtCAp2kI03IsjsZFznAmUpDApHQm3aTnH odAib4ieD4FaIRp+h3I6+TwLfyocUlbiMjWr+mcT2C7qstESZN3VCWwcT1edC+LUqPiI nyfQ== X-Gm-Message-State: AOJu0Ywz+SHEctsQopWwm7ld/D21ikIdfEZnP2A06h7F6IpfEbJHvaRX r3eeykojBoGHkaHiFSJ19k40zNjHkVmdcoBcMB0= X-Received: by 2002:a17:903:18d:b0:1ca:87ea:2fcf with SMTP id z13-20020a170903018d00b001ca87ea2fcfmr20641793plg.25.1698281252646; Wed, 25 Oct 2023 17:47:32 -0700 (PDT) Received: from localhost ([2804:14d:7e39:8470:3d76:6714:fe2c:72f3]) by smtp.gmail.com with ESMTPSA id q5-20020a170902a3c500b001b9d95945afsm10072073plb.155.2023.10.25.17.47.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 17:47:32 -0700 (PDT) From: Thiago Jung Bauermann To: gdb-patches@sourceware.org Subject: [pushed/obvious] gdb/nat/aarch64-scalable-linux-ptrace.h: Don't include itself Date: Wed, 25 Oct 2023 21:47:30 -0300 Message-ID: <20231026004730.28339-1-thiago.bauermann@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org 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+patch=linaro.org@sourceware.org GCC doesn't complain, but it's still wrong. --- gdb/nat/aarch64-scalable-linux-ptrace.h | 1 - 1 file changed, 1 deletion(-) I just spotted the problem, and pushed this patch to fix it under the obvious rule. base-commit: eefa1c2a6465dff111cf0a3f58269a84ed75115e diff --git a/gdb/nat/aarch64-scalable-linux-ptrace.h b/gdb/nat/aarch64-scalable-linux-ptrace.h index 69c9982b0096..8ff2a96ceb16 100644 --- a/gdb/nat/aarch64-scalable-linux-ptrace.h +++ b/gdb/nat/aarch64-scalable-linux-ptrace.h @@ -32,7 +32,6 @@ #include #include #include -#include "aarch64-scalable-linux-ptrace.h" #include "aarch64-scalable-linux-sigcontext.h" /* Indicates whether a SVE ptrace header is followed by SVE registers or a