From patchwork Mon Dec 5 18:56:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 55341 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BBA793948827 for ; Mon, 5 Dec 2022 18:57:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BBA793948827 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670266642; bh=P3RXcUlZXpEqnlWHdkAIZpSguQxseHXMQfyeNKywf38=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=QSkE+2Cte/RsDKFfRX2eaffZEfHIeXmA5pPnJP4ohuluEIe+Q9aj+0mUOw5ferkS1 DKfgzD52C15+3ZHbCJBe2kW9yBnadjA/Ye/m5jgXd+0KmolaynNN0nlaBXsXkeIkhD 91wQu61chXSO413+5hQTPng0/UuTziGKCzggXjRo= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id DED643948462 for ; Mon, 5 Dec 2022 18:56:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DED643948462 Received: by mail-il1-x131.google.com with SMTP id y2so3705248ily.5 for ; Mon, 05 Dec 2022 10:56:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=P3RXcUlZXpEqnlWHdkAIZpSguQxseHXMQfyeNKywf38=; b=kUZGZo+Auch4vHbCGX5m2YIbxJ72dkADH1cYp+lDFGyQbkBBHis4wl59v0zBrSw31f Fhk2fUnLKfKWJl/N8ocXhrQxpt0iNKIigbRvDqG9aWFAMTU2Oy81WC+uOQ8xHGtSIa3v +/QMZNygQQcMsDnqHWxkgGzFikYho8kDTif9+2Rgtb/g4OiWlaRP1+IBW68iaHry0gv2 hpGatM3mBbub58pMf02tuuXnfirezlSn6k/GFZzHxlqEoRcPtfWNA47/CnRNXcoKo74n JfB3h6SWQjY79rrZFTq70n5MFDafnPRQ5eMEnkAOxYDhR4Ue5J/iZPVVzNNfJ238uog9 N9BA== X-Gm-Message-State: ANoB5pm8f2vesn0VmgbirxJKdTXqOKzLVEyQwzl6nYyBqbtF8LTJQ/L4 f1lqKO8ara8jo2CSzxdBTXAHqkokc+sJ9qDp X-Google-Smtp-Source: AA0mqf5PPKCKHPJZzjCmPYvD8sWouz4YxTozWk/wOeO0KEqaBkKfzcf2s080TIOlpVcbwjm7TqxesA== X-Received: by 2002:a92:d0d:0:b0:303:c87:7177 with SMTP id 13-20020a920d0d000000b003030c877177mr18058449iln.308.1670266618153; Mon, 05 Dec 2022 10:56:58 -0800 (PST) Received: from localhost.localdomain (97-122-76-186.hlrn.qwest.net. [97.122.76.186]) by smtp.gmail.com with ESMTPSA id z29-20020a027a5d000000b00389d02a032dsm2000459jad.172.2022.12.05.10.56.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Dec 2022 10:56:57 -0800 (PST) To: gdb-patches@sourceware.org Subject: [PATCH 0/3] Fix Windows C-c handling Date: Mon, 5 Dec 2022 11:56:48 -0700 Message-Id: <20221205185651.2704492-1-tromey@adacore.com> X-Mailer: git-send-email 2.34.3 MIME-Version: 1.0 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Tom Tromey via Gdb-patches From: Tom Tromey Reply-To: Tom Tromey Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" This series attempts to fix C-c handling on Windows, which was broken by target async. I ran this series through the AdaCore test suite (I've never managed to run dejagnu on Windows), but of course that doesn't really test this area much, or else we would have seen a regression from target async. I also tested this by starting an RDP session (avoiding whatever cygwin/mingw issue affects C-c handling for me normally) and trying "run", "attach", and "run"-with-new-console; and exercising both C-c and C-break. Let me know what you think. Tom