I was using gdb before Mojave update but now it is throwing errors:
(gdb) file a.out
BFD: /Users/aliomerkeser/Desktop/a.out: unknown load command 0x32
BFD: /Users/aliomerkeser/Desktop/a.out: unknown load command 0x32
"/Users/aliomerkeser/Desktop/a.out": not in executable format: File format not recognized
Is that a compatibility issue or a configuration issue of mine?
I tried downgrading gdb and re-codesigning gdb.