delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/04/13/13:56:17

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D683395181A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1618336564;
bh=+UKXcgMNIrN4iMT4mLsS7K6VlSdFbI8rjSeEY8ZVAA4=;
h=To:Subject:Date:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=JyEqRzmVb8Nfg9uyE/NeKbTvVy8DQsoFNQVs4K8apj4/4K0q8ANgPmCWXclrLcPp8
Zj6Ew4iSdY/2BInPLsYzY9dqllayX2WxSko3v4aphIv3G2bY2x/VaIPYvZ/OLtuTew
igd0+2CYXd4P8CBd9gNvyVlHgsCOgR+9bIFx1ZGA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 8D9B8395180F
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
Subject: Re: cgdb fails with cygwin 3.2.0 but is OK with 3.1.6
Date: Tue, 13 Apr 2021 12:55:55 -0500
Message-ID: <85b3b94b-ccc2-b62a-acdd-156f019de651@gmail.com>
References: <alpine DOT WNT DOT 2 DOT 00 DOT 2104131455150 DOT 56864 AT panamint>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19)
Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
In-Reply-To: <alpine.WNT.2.00.2104131455150.56864@panamint>
X-Spam-Status: No, score=1.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,
FORGED_GMAIL_RCVD, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,
HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_NUMSUBJECT, NICE_REPLY_A,
NML_ADSP_CUSTOM_MED, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: =?utf-8?q?Ren=C3=A9_Berber_via_Cygwin?= <cygwin AT cygwin DOT com>
Reply-To: =?UTF-8?Q?Ren=c3=a9_Berber?= <rene DOT berber AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 4/13/2021 9:05 AM, Arthur Norman via Cygwin wrote:

> With the latest cygwin if I go "gcc -O0 -g hello.c -o hello" then "cgdb 
> ./hello", break main, run then cgdb exits abruptly without sign on 
> actually starting my code. If I use just gdb not cgdb all is OK. If I 
> try "gcd -tui hello" I can single step my code but the display in the 
> top half of the window is damaged - eg after a couple of steps it shows 
> lines 5 and 6 of the source code twice each, but once normally and once 
> in inverted video.
> Raw seems to gdb lets me step the code about as expected.
> 
> If I revert just the cygwin package from 3.2.0-1 to 3.1.6-1 things 
> appear to behave as I would expect. 3.1.7-1 possibly had -tui issues and 
> led to cgdb stalling on my large and broken example code which is why I 
> report 3.1.6-1 as the baseline.

At one time it was recommended to disable a Cygwin feature, something 
like this:

alias cgdb="env CYGWIN=disable_pcon cgdb"

Not sure if this is still necesary.
-- 
R.Berber

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019