X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AA17D3858D37 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 20J9dBWX019923 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=dec2015msa; t=1642585152; bh=QumhSo2U+xz+tjcb1A8lfKN8/CVL2PH5yMnd6EvKgO4=; h=Date:From:To:Subject:In-Reply-To:References:From; b=ni/ec+PEZ+nrhfDuMP9R93MpokdSvMPcNMNaPI+QZpSWcdW7CLoIklWyXtUCNd6rt TC+XeCFz1ZcQs7+DS6z5tuC0dXDae4zEVH/378F+k4oJcP+BoN2Y8l5vi1VvsnsGL5 6xds/PAF5LPD8ZsL2cnu0wXnIuTprmBLc2K1GrjKFawifq07fIwUrY/PL3HjoYIvXQ poGt9fdIm7kia9ovV08v3qpyfJ2R44YJ0ZlKd/ULCgoXBM1vVMnAjbstJv5ADyTRqc 0SPJOolzBtuff2ZLZK1uz52F4HucOnYVu7r9dPprPvvQVmQGCEFmhWx3lCRSErvE2y bopcT7iSnnNLw== X-Nifty-SrcIP: [124.155.36.249] Date: Wed, 19 Jan 2022 18:39:11 +0900 From: Takashi Yano To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] gdb 11.2-1 (TEST) Message-Id: <20220119183911.3ef67396328c33cccd83a050@nifty.ne.jp> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Mon, 17 Jan 2022 18:57:26 +0000 Jon Turney wrote: > * Use cygwin pgid if inferior is a cygwin process (Takashi Yano) > Addresses: https://cygwin.com/pipermail/cygwin/2021-January/247640.html I confirmed that the followigin problem is fixed in this TEST version. > 1) Install coreutils-debuginfo package. > 2) Run "gdb cat" in console (command prompt), not in mintty. > 3) Enter "start" in gdb. > 4) Enter "cont" in gdb. > > This results in: > /usr/bin/cat: -: Input/output error Thanks. However, I noticed another problem in signal handling. Even with the following setting (by default), (gdb) info signal SIGINT Signal Stop Print Pass to program Description SIGINT Yes Yes No Interrupt inferior receives SIGINT when Ctrl-C is pressed. Due to this behaviour, inferior cannot be continued by 'cont' command after Ctrl-C. Is this the known issue? -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple