clion gdb error : not in executable format: File format not recognized

已回答

I switch to the bundled gdb debugger and click the debug button, and the result looks like the following:

BFD: /Users/xxx/CLionProjects/untitled/cmake-build-debug/untitled: unknown load command 0x32
BFD: /Users/xxx/CLionProjects/untitled/cmake-build-debug/untitled: unknown load command 0x32
"/Users/xxx/CLionProjects/untitled/cmake-build-debug/untitled": not in executable format: File format not recognized

How to fix it? I'm using CLion 2018.3.4 and system macOS 10.14.3.

0

Hello!

It's a GDB issue, please see details in the comments to https://youtrack.jetbrains.com/issue/CPP-14546.

1

请先登录再写评论。