From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id rGwtAmJYRmpYZyIAWB0awg (envelope-from ) for ; Thu, 02 Jul 2026 08:24:02 -0400 Received: by simark.ca (Postfix, from userid 112) id C60171E024; Thu, 02 Jul 2026 08:24:01 -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.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::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 5964C1E024 for ; Thu, 02 Jul 2026 08:24:00 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 42D814BA79AA for ; Thu, 2 Jul 2026 12:23:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 42D814BA79AA Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by sourceware.org (Postfix) with ESMTPS id D404D4BA7991 for ; Thu, 2 Jul 2026 12:23:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D404D4BA7991 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D404D4BA7991 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1782995010; cv=none; b=cv1Y8icEfNs54dnj+QxKng6k+vfjdvF/AzNQb1m3B/n+Fdh80YjGYuzhI53fuB+1QDbuEx5/hXFk27tBJKC0Mqg5ETu3btW+sHQl0T2stDzjSHpCDqip7HWvgrmDm57ANZdxlHndWmSwRvvzBxaf895RLpT7s+pSoU1cavZlkP8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1782995010; c=relaxed/simple; bh=SU6knN3FAyXAogOvUAw6MWM3U48oM4XNEpiw7JaoYbI=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=i2pNPDGmrZcXKNEIhfNxVhmCiTr1yA1MFnKXe0ZUqNAA3gnUwhgtY9fDjU/8mClvQzy5I14utfrnQo4SqjUOChXMu1bf59aE0v8mMjAGG1azASLNePLmWS05uTCRHeO+EdB+y3HQcPPk3g0RG30L5lO19x7S5plzSJkLFXxR0Mg= ARC-Authentication-Results: i=1; sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D404D4BA7991 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-493c5220cb7so7534365e9.3 for ; Thu, 02 Jul 2026 05:23:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782995009; x=1783599809; 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=Mgr/uBfyh0/+CrzQxRjc7T396ILUR+0WBRm3qeNrvvs=; b=gAI23bOB4+JleLiqz9Fn/SlZb9gvM9sXyBSofE85piWhfV+oudXsBQEyE/luenvbON WODZnYit1JNYzfiUBvmEPGPs1WwYs8OMW5XRVTVzuaslwSlMaSbCnxwIoYT2UhNFOQnH N/SLDHOH6q54aV/efFtPF2nLnNz/q7D7cY39THqDwHzNSrGDiZ3t69wbBVXQfPtkcPdQ hFzpL1UEPogTV1yEw0pPbRgDQ+4r2YwOgYPDpGAwfNezCCeCJ2A6uGMv1puuu8xP4uK0 uT04/DTYU6jDRj4aE+yj1vvGlVvy3yMlv/HDgk1JNche1nCFlwm7JuIEelxIae0f1HTF rqxA== X-Gm-Message-State: AOJu0YzQgvH0ybKoh1GcUfxUoI7oU+8Yr1ETpR1VHbOh6XW3jie0Em61 ikZK2tjkj8ThiYafEAw4LGhfq8t0NU49J/KWlqwc9SimxV+QtCLcZIT/Snh0aw== X-Gm-Gg: AfdE7cnANsOVBkvNoVJR/sLe0fNGO4sV9gV7/7lSBH4nPA2ey18+sodETKzB9yUz6xT Sbt45hUWxDAxWf+XdK2VCj3ylWaamYUVVHKn5xUo95vD0yP5axeB2cdoImtXDFzn4xXJ9ReOgMD gJ0+Kt9428iR1dGzZ84SC1WGFaXAkqwrd4iWpskTM3SeobquXikX2cx7WZenrs3BArO1uKG0dUo RwJ+4dg/gYJkFh9aEHL3GV7sWPVDh5dE0KlcfSpnKi/X4ATp2k6sZzniGpfylCv+KZ+Z9QdFttZ M3PbTgH3phW1vQCLOTTQef0S2m6sEKi8gC0/A8joNdGeZr9psinNUVyvmphegBvsspco862XAP3 g4UBUydl7VB9+B5b4Y5NhLHEArpDamlrP6Xre0dDeNQCPOMAVECgjPngUhI4LAzL5ZekaI6fWdR A8QlIFJN7Reg== X-Received: by 2002:a05:600c:4e4c:b0:493:b2c1:b2f8 with SMTP id 5b1f17b1804b1-493c3cd568fmr77665155e9.4.1782995008446; Thu, 02 Jul 2026 05:23:28 -0700 (PDT) Received: from localhost ([2001:8a0:fac2:7700:30ce:627:9424:b9bd]) by smtp.gmail.com with UTF8SMTPSA id 5b1f17b1804b1-493c63bf7efsm45852205e9.14.2026.07.02.05.23.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Jul 2026 05:23:28 -0700 (PDT) From: Pedro Alves To: gdb-patches@sourceware.org Cc: Lancelot SIX Subject: [PATCH] gdb.rocm: Don't include unistd.h when not necessary Date: Thu, 2 Jul 2026 13:23:25 +0100 Message-ID: <20260702122325.330129-1-pedro@palves.net> X-Mailer: git-send-email 2.54.0 MIME-Version: 1.0 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 gdb.rocm/code-object-load-while-breakpoint-hit.cpp is including unistd.h unnecessarily AFAICS. Don't include it, so this test can compile on Windows (x86_64-pc-windows-msvc) as well. Change-Id: I9f469fd4b061ab9895c8bbbd408939e4df2a4e92 --- gdb/testsuite/gdb.rocm/code-object-load-while-breakpoint-hit.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/gdb/testsuite/gdb.rocm/code-object-load-while-breakpoint-hit.cpp b/gdb/testsuite/gdb.rocm/code-object-load-while-breakpoint-hit.cpp index d2f2ddcbf6c..d7101b419c0 100644 --- a/gdb/testsuite/gdb.rocm/code-object-load-while-breakpoint-hit.cpp +++ b/gdb/testsuite/gdb.rocm/code-object-load-while-breakpoint-hit.cpp @@ -36,7 +36,6 @@ kernel () #else #include -#include #include "rocm-test-utils.h" base-commit: 18ca02157d9cc245f035452e397a07a3787034d0 -- 2.54.0