| Message ID | 20260522001626.393908-1-pedro@palves.net |
|---|---|
| Headers |
Return-Path: <gdb-patches-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5886748F52C9 for <patchwork@sourceware.org>; Fri, 22 May 2026 00:16:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5886748F52C9 X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by sourceware.org (Postfix) with ESMTPS id E37E148F66C6 for <gdb-patches@sourceware.org>; Fri, 22 May 2026 00:16:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E37E148F66C6 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 E37E148F66C6 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=209.85.221.47 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1779408990; cv=none; b=WK8cW2sqtTL37FGnfnzqI7Cxctro7cozlq30uw1xmoTyFr1kHFPt8bnjDU4I4gKWJur8reDWo1oQAglrnwqrXSnSnF4Y8sjmOnHCDBWkwZ8XSHcpzFQByzuJ8DUO90QDVDdKQsiPhzVcOmWM7VTEUFX7OQ5ImF4CHCTaIlV99mk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1779408990; c=relaxed/simple; bh=OSpWmPjWfT9vZFDxejTA+3YeYJ/leFD4eeyg5Kep8mk=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=c7qRWv5BRgrqjv89U8wBcJQQUN/7QuoUk/gQbwRyP3v3BTDkKuL+vrJm+XunSYwwVmTrZSYaeJodmdes6Dz1uLd6E9bghzkg6kH9g7ZVY3nOW1bcLUWHdmrVHTiROGmqTQGPR364S8kmfYum8aeKewjm4dAEMVv/7J09tZvLI3E= ARC-Authentication-Results: i=1; sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E37E148F66C6 Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-449de065cb3so6317855f8f.2 for <gdb-patches@sourceware.org>; Thu, 21 May 2026 17:16:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779408989; x=1780013789; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Vl3H6GQflC+easBGehi79pZnbnWXDvljJZz/FAEmVFc=; b=ZHp4gCY2om2vrS/iXJfZm5C+Bjapvjs8FJEzAbagEBjEeCtEhuH+cLteehl5XRH0MU 79YP9WDPCUrYd4X/yR4dxoRH0ihuJJ0Bt2RsYgr3fvRuEbuuOwJZbklHE6f2kBEeuiFm cRmhW7WL2zwehnTal6ZPOJ3COOcfTFA8GQ50yb+MER/qtFFFCLjV6xI1lbgx9n5xRxib f9EvL8jmZRrk8FP4+08CzW6UOTrZw1z9doQ91IhZqdVS8k8VOYQ7xs4lDanyYnAQ1uty GSF6zgq3s72epoJQbQ2UPk5klYRhWJbzb1GVkANNDLCNhWaGFKfjW0IBgGPoPrLdMuPP Dx0g== X-Gm-Message-State: AOJu0Yy137yUopJV+V/z4S1MGQNKuynQEn6R2Nak42AjTAaCkahL1414 q8QgIkpsYF2ebm1uohGqmgWWVxWJ08Lw3N1vcm4LotLVWa/VDLKQRfgbzoZSVA== X-Gm-Gg: Acq92OEhN1wtARVi4nqpDL36+3ImNFyaOdfzoayL1o0N7DfRWmVhdydmfvEx8TEA/+0 rkuiDSmwP1nkpy9ayPpuwHvWCNvFejFUYcuo5tdTPcMbbIQuWE9LwOTbETUVHZ3uLHNKbZW+cRT SRZFEVccxRLI8gf7UtF+cLRfvXjnoICdRaLAfvFFN2/wB3LdLasP/C8VEhvGa5EJQsV7bEycLKD ciPhaogw5SyjID+Pj+1ieVia++9T7ou1E6A+voKq7vVr2LhTDjp1TBmN81wHuu/1K4476YAquup xSPjR3peLDOPkm1e0adA5gDAO3BApGQwPcnoLxu8Mu5IRntkYtnmrC8w31d0aHMxLvI692wV8Pl XEXLuVaT2cBezfyTotBYCgY/ZyU+Uz5EquXPC2sDiFAU+mqGzruzXchWRhfPggcsEYEywQ6JTxq JvDzmwKz9a8TrH9pFNqZxh8g== X-Received: by 2002:a05:6000:4310:b0:45e:a19f:22e0 with SMTP id ffacd0b85a97d-45eb367ebf9mr1388755f8f.10.1779408988524; Thu, 21 May 2026 17:16:28 -0700 (PDT) Received: from localhost ([2001:8a0:fae3:2600:cb04:347e:aaad:ca08]) by smtp.gmail.com with UTF8SMTPSA id ffacd0b85a97d-45eb4ac4e6bsm861412f8f.20.2026.05.21.17.16.28 for <gdb-patches@sourceware.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 May 2026 17:16:28 -0700 (PDT) From: Pedro Alves <pedro@palves.net> To: gdb-patches@sourceware.org Subject: [PATCH 0/5] Fix a few Cygwin/MinGW problems Date: Fri, 22 May 2026 01:16:21 +0100 Message-ID: <20260522001626.393908-1-pedro@palves.net> X-Mailer: git-send-email 2.53.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, RCVD_IN_PBL, SPF_HELO_NONE, SPF_PASS, TXREP shortcircuit=no autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on sourceware.org X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list <gdb-patches.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/gdb-patches>, <mailto:gdb-patches-request@sourceware.org?subject=subscribe> Errors-To: gdb-patches-bounces~patchwork=sourceware.org@sourceware.org |
| Series | Fix a few Cygwin/MinGW problems | |
Message
Pedro Alves
May 22, 2026, 12:16 a.m. UTC
I tried to make gdb.python/py-events.exp work on Cygwin, which, as usual, revealed a few other problems... - "set cwd ..." does not work properly on Cygwin, the program does not even start up with that -- affects both GDB and GDBserver. - gdb.base/exitsignal.exp needs adjustment for Cygwin. - The inferior exit code / termination signal is mishandled on Windows. - gdb.python/py-events.exp needs a lot of adjustment for Cygwin and MinGW. gdb.base/exitsignal.exp and gdb.python/py-events.exp both tested on x86_64-unknown-linux-gnu and on Cygwin. All fixed by this series. Pedro Alves (5): Fix "set cwd ..." on Cygwin, part 1 Fix "set cwd ..." on Cygwin, part 2 Adjust gdb.base/exitsignal.exp for Cygwin Fix exit/signal code on Cygwin Adjust gdb.python/py-events.exp for Cygwin/MinGW gdb/nat/windows-nat.c | 42 +++++++++++++++ gdb/nat/windows-nat.h | 4 ++ gdb/testsuite/gdb.base/exitsignal.exp | 8 ++- gdb/testsuite/gdb.python/py-events.c | 3 -- gdb/testsuite/gdb.python/py-events.exp | 73 ++++++++++++++------------ gdb/windows-nat.c | 28 ++++------ gdbserver/win32-low.cc | 43 +++++++++------ 7 files changed, 130 insertions(+), 71 deletions(-) base-commit: f6c1ca239d932db39a6f19d9bd343f4f4fddba76