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

Reply via email to