-
Notifications
You must be signed in to change notification settings - Fork 42
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
When debugging native Windows executables, GDB 13 or newer is required to be able to pause #99
Comments
Ping. Any update on this? |
Pause does not work still on Windows native debugging. It works whereever we can run GDB async, which is generally all targets except native windows. |
Windows target-async was implemented last year: https://sourceware.org/pipermail/gdb-patches/2022-August/191190.html |
Thanks @tromey - I appreciate pointing me at that update. I'll try a newer version of GDB on Windows and we'll advertise that as the minimum version. |
Whether it is caused by the special mechanism of CTRL-C-EVENT on Windows |
I tried this version GCC 13.1.0 (with POSIX threads) + LLVM/Clang/LLD/LLDB 16.0.5 + MinGW-w64 11.0.0 (UCRT) - release 5 (LATEST) https://github.com/brechtsanders/winlibs_mingw/releases/download/13.1.0-16.0.5-11.0.0-ucrt-r5/winlibs-x86_64-posix-seh-gcc-13.1.0-llvm-16.0.5-mingw-w64ucrt-11.0.0-r5.7z of gdb async is pauspendable. GDB version is **GNU gdb (GDB for MinGW-W64 x86_64, built by Brecht Sanders) 13.2 |
Thanks @noneghost for testing this.
Therefore GDB 13 is the minimum version on Windows host to support native debugging. I am not sure where to document it. For now I am going to change the title of this bug. |
I'm not sure if this is the least supported version, I'm using the latest version provided by winlibs.com. I'll confirm the other versions tomorrow. |
Thanks @noneghost - I appreciate the contribution and effort in doing these tests! |
I tried other versions of gdb and GDB 12.1 is not asynchronous. GDB13 should be the smallest supported version. I saw on gdb's official website News that version 13.1 supports window asynchrony. GDB news |
CDT has a complex system for sending gdb a Control C event to get it to pause. We'll need to bring that over and update it (still works with Windows 2000 though :) ).
The text was updated successfully, but these errors were encountered: