Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDB Crashes Using "layout" #160

Open
ossfay opened this issue Jul 11, 2023 · 3 comments
Open

GDB Crashes Using "layout" #160

ossfay opened this issue Jul 11, 2023 · 3 comments

Comments

@ossfay
Copy link

ossfay commented Jul 11, 2023

I'm using Windows 10 and gcc-13.1.0-mingw-w64ucrt-11.0.0-r5.
I started up gdb with a program with arguments:
gdb --args <myprog.exe> <arg1>
I set a breakpoint in one of the source files:
break file1.c:177
Then I wanted to see the source code:
layout src
The I typed:
run

The program never ran. Instead the layout window disappeared, showing the underlying command-line text for a couple seconds. Then my prompt just disappeared. gdb seems to work fine as long as I don't use the "layout" option.

@ssbssa
Copy link

ssbssa commented Oct 1, 2023

This bug is fixed in ncurses since version ncurses-6.4-20230211, but winlibs apparently still uses ncurses-6.4.20221231.

@brechtsanders
Copy link
Owner

The winlibs build uses official releases and for ncurses the release version is still 6.4.

The assumption is that when significant bugs are fixed a new release is issued.

Maybe it's time for ncurses to release 6.5?

@brechtsanders
Copy link
Owner

For another issue (#168) I released a new build of GCC 10.5.0, but using the ncurses as you proposed.

Could you please test if this release works for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants