Preface: I am out of my depth for debuggers and debug info, so the information may be straightforward, but a cursory google search returned nothing.
I am on x64 Windows, building a C program using MinGW64 and MSYS2. I have been debugging under MSYS2's gdb, but I wanted to spice up my debugging with a GUI debugger, making the process fast开发者_高级运维er and bearable. I found and obtained a copy of Insight built for Windows for MinGW64. It works... but it does not pull debugging information! I'm getting raw x64 assembly (Motorola syntax too, ew), which doesn't make my debugging much easier.
The project I'm building is using an autotools build system. I can load symbols and source using the MSYS2's gdb when built with the appropriate flags. I would like to load symbols and source in Insight.
Versions for everything:
MSYS2: 2022-05-03 GCC: 12.2.0, Rev6 Insight: Built 2020-08-15 Obtained here, as insight-mingw64 MSYS2 GDB: 12.1 Insight GDB: 7.7Various CFLAGS I've tried:
-Og -ggdb
-Og -gdwarf-2
-Og -g
-O0 -ggdb
-O0 -gdwarf-2
If the problem is intractible, I'm accepting suggestion comments for other GUI debuggers. My heart is not set on Insight.
精彩评论