clion gdb error : not in executable format: File format not recognized
Answered
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.
Please sign in to leave a comment.
Hello!
It's a GDB issue, please see details in the comments to https://youtrack.jetbrains.com/issue/CPP-14546.