From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by sourceware.org (Postfix) with ESMTPS id 0453B3857832 for ; Tue, 13 Apr 2021 17:55:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0453B3857832 Received: by mail-oi1-x22a.google.com with SMTP id l131so12793771oih.0 for ; Tue, 13 Apr 2021 10:55:57 -0700 (PDT) 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) Received: from [192.168.10.3] (dial-200-57-195-23.zone-3.ip.static-ftth.axtel.net.mx. [200.57.195.23]) by smtp.gmail.com with ESMTPSA id c7sm2933779oot.42.2021.04.13.10.55.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Apr 2021 10:55:56 -0700 (PDT) Subject: Re: cgdb fails with cygwin 3.2.0 but is OK with 3.1.6 To: cygwin@cygwin.com Newsgroups: gmane.os.cygwin References: From: =?UTF-8?Q?Ren=c3=a9_Berber?= 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-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit 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@cygwin.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: , X-List-Received-Date: Tue, 13 Apr 2021 17:55:59 -0000 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