From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id QnCdCWlfl2PpsSYAWB0awg (envelope-from ) for ; Mon, 12 Dec 2022 12:05:45 -0500 Received: by simark.ca (Postfix, from userid 112) id 14F891E124; Mon, 12 Dec 2022 12:05:45 -0500 (EST) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=t/eTLXvl; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-8.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 9BB8B1E0CB for ; Mon, 12 Dec 2022 12:05:44 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E99A138518B7 for ; Mon, 12 Dec 2022 17:05:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E99A138518B7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670864744; bh=noDGrfBRBlmgubQqLYZdqroP2/P44QzlmsvrhEY0ZXw=; h=To:Cc:Subject:References:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=t/eTLXvl/ZOk/TJYwEVkMA40tm5pB0aSEJH2vnHBQYTWst/RI2bQVyR/q6g6cCRyf Hvj/cuWxcp09S51NmowsHYua7Vq0JTkynhEDpnBG+1sUgoZQv6a+z6cmJg4FVyUjYY REmcQFF5JfUYx4hcjDnruAS9mPMGrjRFRm5v378k= Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) by sourceware.org (Postfix) with ESMTPS id 45D473851891 for ; Mon, 12 Dec 2022 17:05:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 45D473851891 Received: by mail-io1-xd2f.google.com with SMTP id b192so248936iof.8 for ; Mon, 12 Dec 2022 09:05:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=noDGrfBRBlmgubQqLYZdqroP2/P44QzlmsvrhEY0ZXw=; b=jK6nHMSGzIwxpGYvq7F8llkKhBgYZF1MVtAUlKXo4ZCXqaR2Pb1LaKxmVHX2+Ss6pL lPVKQWQN1Yf5SMofg+G1VXldszhxszVmwSfPfjs1wp5aTBA50MQGjRPRk2vmo/cyUpfs /UjXDPrYYG5edn0hXTVWI4lfGQ1iixHUWCLopbhg2AMX1S2EoJsX3hOEvm5wbXtj3yMC F3r1xj+ywnZ2hotb/6ATseX+UYzalg+UGkpBPZSdp7kbHdO7RlIJQa5rd0c9OR3bBc5o AYz8eTS4isqmhjCzm4Qn6ISWzq9fKG1c9NScO3++qfGGhEW6dDeWkVJF+JmLfEXgVLwF 5/Dg== X-Gm-Message-State: ANoB5plNzWqtvfPCP2KBa/AcXWWhl5RF8/GG0EG3ZTIKbWBa0xrXmQcr Nc1s0kA8DN/H4sLWfYaOV24yeA== X-Google-Smtp-Source: AA0mqf571RfHRfDQQLG+J4M3p68OizWAi3vIEn5j1urLlG4HCAd1L2b9CFeYVE+MQlxVecOqHioO/Q== X-Received: by 2002:a5d:861a:0:b0:6df:9d01:3376 with SMTP id f26-20020a5d861a000000b006df9d013376mr9019631iol.21.1670864722499; Mon, 12 Dec 2022 09:05:22 -0800 (PST) Received: from murgatroyd (97-122-76-186.hlrn.qwest.net. [97.122.76.186]) by smtp.gmail.com with ESMTPSA id s2-20020a02cf22000000b00356738a2aa2sm93295jar.55.2022.12.12.09.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Dec 2022 09:05:22 -0800 (PST) To: Tom Tromey Cc: Hannes Domani , "gdb-patches@sourceware.org" Subject: Re: [PATCH 3/3] Fix control-c handling on Windows References: <20221205185651.2704492-1-tromey@adacore.com> <20221205185651.2704492-4-tromey@adacore.com> <102195784.4047621.1670433222150@mail.yahoo.com> <87ilikin72.fsf@tromey.com> <1095715284.5500968.1670602756752@mail.yahoo.com> <87edt8ijd7.fsf@tromey.com> <127884065.5583846.1670609613440@mail.yahoo.com> <87cz8ohbwf.fsf@tromey.com> X-Attribution: Tom Date: Mon, 12 Dec 2022 10:05:21 -0700 In-Reply-To: <87cz8ohbwf.fsf@tromey.com> (Tom Tromey's message of "Mon, 12 Dec 2022 08:36:32 -0700") Message-ID: <878rjch7se.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: , From: Tom Tromey via Gdb-patches Reply-To: Tom Tromey Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Tom> I used RDP and started powershell, then ran gdb there. I did 6 tests: a Tom> C-c and a C-break test of "run", "run" with "set new-console 1", and Tom> "attach" -- and in all these cases, it worked. I found out how to reproduce the crash you saw. In my tests, I was doing everything in a single gdb instance. However, if I start a new gdb, then "set new-console 1", and then "run", I can make it crash. Changing sigint_ours to a gdb::optional fixes this problem. I couldn't reproduce your problem #3 ... my python-less build seems to work fine in other situations. I'll send v2 of this series shortly. Tom