开发者

Insight Cannot Find GCC Debug Info

开发者 https://www.devze.com 2022-12-07 21:09 出处:网络
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.

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.7

Various 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消