After starting GDB (macOS) with “gdb ./a.out” and typing “run”, following text is displayed and GDB then quits with an abort error. “[New Thread 0x1c03 of process 10081] warning: Cannot exec /Users/bengilchrist/Desktop/Programming/C/Brogue Clone/Game.out warning: Error: Invalid argument ../../gdb/target.c:2149: internal-error: void target_mourn_inferior(ptid_t): Assertion `ptid == inferior_ptid' failed.”
Dup. *** This bug has been marked as a duplicate of bug 26861 ***