gdb 8.2 can’t recognized executable file on macOS Mojave 10.14
The problem is that clang-1000.11.45.2 distributed with Apple LLVM version 10.0.0 adds a new load command to o-mach executables named LC_BUILD_VERSION. $ otool -l test.o … Load command 1 cmd LC_BUILD_VERSION cmdsize 24 platform macos sdk n/a minos 10.14 ntools 0 … From the apple source: /* * The build_version_command contains the min OS version … Read more