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: 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: Content-Language: en-US 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Ren=C3=A9_Berber_via_Cygwin?= Reply-To: =?UTF-8?Q?Ren=c3=a9_Berber?= Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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