From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 5CBBAoVhWmq1EQ8AWB0awg (envelope-from ) for ; Fri, 17 Jul 2026 13:08:21 -0400 Authentication-Results: simark.ca; dkim=pass (2048-bit key; secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=goAnFc1f; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id E7B531E09E; Fri, 17 Jul 2026 13:08:20 -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 [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 0B8751E033 for ; Fri, 17 Jul 2026 13:08:20 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 363744BA23DA for ; Fri, 17 Jul 2026 17:08:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 363744BA23DA Authentication-Results: sourceware.org; dkim=pass (2048-bit key, secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=goAnFc1f Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id E9A0C4BA2E04 for ; Fri, 17 Jul 2026 17:07:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E9A0C4BA2E04 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E9A0C4BA2E04 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::332 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784308076; cv=none; b=jdr/XwcYwKewvIm7NLvRPfdCM6G/vBiZ+LPDbFwscyQ1/2zInKqNzoE8ZMFPkywFz0Q/RRJ0+D6ckgv6XxYCTrG/3ZBhQJuTYx2DQJcJoOLKlRquM3hFKm6a2NWoyZa33u/vW8kPEa1ZdYGYwp+4AbvlBaJuDncMnn0Pxvpk8aM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1784308076; c=relaxed/simple; bh=qYw+/HD6tWFp1sUC2Jqcl7dkB3BCI1P2sDRJZvxuK9g=; h=DKIM-Signature:From:Subject:Date:Message-Id:MIME-Version:To; b=M1mC10RI9bXrKrtMvgawaL1GQRjWTHZHClS2Zn0fJdVelAB0p+BYNoGIqM8pPdKXIHw/TP4gwN9diXAt/EF+dKjy0Kahqxnk7aAm2Htl70HaQVG6Fr9OGDYvXbCUuEgWEajxf7DQGpuuT1sGP87NYxCDqgLhdjW2qyRuElmwxcw= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (2048-bit key, secure) header.d=adacore.com header.i=@adacore.com header.a=rsa-sha256 header.s=google header.b=goAnFc1f DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E9A0C4BA2E04 Received: by mail-ot1-x332.google.com with SMTP id 46e09a7af769-7e9ef94c0e2so2154657a34.3 for ; Fri, 17 Jul 2026 10:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1784308075; x=1784912875; darn=sourceware.org; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=C9K4H9jLwmcPdCqpnFR3Xnonpo/PZC1ePGf5mTgl8+s=; b=goAnFc1fU5w7nm71OA3kpivLqUQ9xKfrvlNKDg6a/yPWbxPujya4qajUO18k2i/vDg G1t351GiBoJwB02L8Pp10M1DXNJbDKZjlEsxUOg9gYBtvx3XwmzN98K7QEQcuh93wAlH RNo5dXlsZaEu2Hu1dSkuOU57ms2CL6RJ4PRC9XHAwiAmzPZOKfc79HZ9nS4+8YTQ3sE5 2eNixvhY2l6AIFx+fU+fMHZONl3KyEiOc9Wcs6uXj1zGvEws0LEgov4ER+1YaZ8HGwlh GOguyDDP5EbXghOy3eYL2nuiWcjrR8sX8UGMm4utIoTS8tignPWypiOJ0FTeh2ngTxa8 ITKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784308075; x=1784912875; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=C9K4H9jLwmcPdCqpnFR3Xnonpo/PZC1ePGf5mTgl8+s=; b=OViC5NtpBoLz0O0t3CRY0YB4QY6YFuy+QD/g/DITnHkr0ZKYqbxQX3UOtZfyLpJ04U 79V+YO5KRWbQbF5nAXu+KULIfdOj9Mze5f2Covo57Ob4R2K27dJowB/nwdpYJKDGSdlV jvedJI/5yTzvLrlpH0DsyeGmSsL4CfqHft3lRzknboh5OIc+Z47f15uzWAPhuLhjAKQr LLNdcoG0NFQwR2UaG0c182UUy6ztnpHmP6lvHXClNq1IiLbTFxtb+VVHn50uW+QsxVNZ SD8UX4Id3Q5KJ8WZ9DCuevBFJGoI9WRcBFalvBn/H6IkVNURHxs9q4WuiGNOYhGA9n4L 53zw== X-Gm-Message-State: AOJu0YycKiAHxZ1zaRvjyMTjxKxNVE7ZlJgCaga8MJvS1RqNTpNrlc1F Qse5AosKtZkpyfAaZwU+F8XVDE3IE7cnWZ/g0lPk51k2/Pu/KSKqAjcqS4mc7igpCZCgEJgCBBS AsgQ= X-Gm-Gg: AfdE7cmqVituhd2nUSQKFYV7Tyj97k/axaiqTWd1uZhUrlWkqaakR8e1PjgXUr8Tp6N kSnfY7DzZU0t34MW7CCV/5jGE8EB8ayA9wZIbbWu9fRYhV848IMCPoiaKWcN/K90z1hz3LMY4iN Bz4kVPnjtj6vT8Aww4C0eDnwdZt4n44jcVyYAx0txLYCEWkcuvPjWsTBwF3tMWNgbrhqmZJw+C+ aT2/Oe3iSsN2Qyl73AR8HMR0tX8Twkst0ZE6rD5QnSoX0eCVQq8YXYB9oeIx2olL7zQjyOAQ6pI WSpaERzBXYYrdA2plJZUTLes0u22ArGD35p7RV4i8iCcUavxz0LdLW1tCe+/298X4G7sEjpF4GZ Qp6fL1f9yecz4RWjp2IHUuvoSqHFvmxnouL00FaIj/Ira2/Lw3gH6/sDZzo001Bp7XlYA84z36K RFLbNeyma85d/LuSh3HtfBunSpp0AzwTOz X-Received: by 2002:a05:6820:1396:b0:6a1:63cc:97f4 with SMTP id 006d021491bc7-6a536886c88mr1445297eaf.34.1784308075259; Fri, 17 Jul 2026 10:07:55 -0700 (PDT) Received: from [192.168.0.26] (75-166-225-82.hlrn.qwest.net. [75.166.225.82]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-4568e625105sm1796839fac.11.2026.07.17.10.07.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jul 2026 10:07:55 -0700 (PDT) From: Tom Tromey Subject: [PATCH 0/2] Two small F_SETFL changes Date: Fri, 17 Jul 2026 11:07:52 -0600 Message-Id: <20260717-f-setfl-v1-0-0d1eec47cf25@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/yWMQQrCMBBFr1JmbbAJTQpeRVwk6aQd0VRmogild zepy/d5728gyIQCl24Dxg8JrbmCPnUQF59nVDRVBtMb1496VEkJlvRQ2loXTLA4DQ6q/WJM9D2 errc/yzvcMZaWNyN4QRXY57i0aWWaKZ+fXgoy7PsPH3AGvYsAAAA= X-Change-ID: 20260717-f-setfl-1556b2b5ed46 To: gdb-patches@sourceware.org Cc: Tom Tromey X-Mailer: b4 0.15.2 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 I was looking at the F_SETFL / SIGIO handling code in gdbserver recently, and I noticed a couple of oddities. This series fixes both of them. I wouldn't expect these patches to really affect anything in practice. Signed-off-by: Tom Tromey --- Tom Tromey (2): Don't use F_SETFL in gdbreplay Use F_SETFL after F_SETOWN gdbserver/gdbreplay.cc | 3 --- gdbserver/remote-utils.cc | 6 ++---- 2 files changed, 2 insertions(+), 7 deletions(-) --- base-commit: f8ebb8db3bd5bcfaeaa42f803fe15300e65196ee change-id: 20260717-f-setfl-1556b2b5ed46 Best regards, -- Tom Tromey