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

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7143C3951809
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1618336560;
bh=Srq875tRgesEQH2Zm/FIXv9kjM0a9jCzEhZCv1nwOhw=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=C8yImhTEnmtShdZdegAYRkwdr/oGbRPEkBe5o5ZUGRFN7efLPsjgiVlNTIbMtHMD7
+dV45kUR7d1BAX5bMjtMo2VDyJfF1QtadiVCfbjQEOCBfBBK6Y6APOMvtnYrgZy9tT
BzNw6CYMdZRUFPw+9wHVX01oFsiMZRH44V6RalVk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0453B3857832
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:newsgroups:references:from:message-id
:date:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=ih9bx20+BaTlwfX+Rg/weWF3HnPwVgWl6ljW7kPj/zs=;
b=dAaoNYX2PIF50s9OglcT39lzEJdELha2y+T6VQ4KhAVPsPNAcjvT7ruSaLuyz7UDRE
Pdj+RATbCfmlzn327WBPBjImg+B53IuDqHRYfQnHu9DgZJhAuQb5dtyLFmHrrxMoDIdz
tMf8HOPb20Tc8NR40iRIldJ/at6WtBVYQ4c3e3GfrbFhHXb9SpB6gFlC6j61RllCiMST
L1gGUD50YRyANQyvEMm/r1aGdWUEln+6POnKKFRArAYcYFdtbxVLnpP06P9+9BgctLSx
Nx3r3n63GBIyzFIeVJx5v66V3vavDPd5tDVZ/3DgFEGkwb4l3t0RWI3Wzad/HtoDGXQK
KSKw==
X-Gm-Message-State: AOAM533J6RoeguXVM57mrBShPnnA+cjXwWgAOLWDQfCVIqNIPb7lzWjv
wnY40vo4CQLuKi0XsSbeyWtafhsLvKI=
X-Google-Smtp-Source: ABdhPJyuoUbEzKcKiB/K/2AvDYo5qLWARBCT6BgGF7cXBSpUj/LiYhvHarLx/rk4BDcmi26Nv9YqWQ==
X-Received: by 2002:aca:1b01:: with SMTP id b1mr859850oib.171.1618336557234;
Tue, 13 Apr 2021 10:55:57 -0700 (PDT)
Subject: Re: cgdb fails with cygwin 3.2.0 but is OK with 3.1.6
To: cygwin AT cygwin DOT com
Newsgroups: gmane.os.cygwin
References: <alpine DOT WNT DOT 2 DOT 00 DOT 2104131455150 DOT 56864 AT panamint>
Message-ID: <85b3b94b-ccc2-b62a-acdd-156f019de651@gmail.com>
Date: Tue, 13 Apr 2021 12:55:55 -0500
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
MIME-Version: 1.0
In-Reply-To: <alpine.WNT.2.00.2104131455150.56864@panamint>
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
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