https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498
--- Comment #3 from jonne <gcc at zutt dot org> --- Read somewhere that I need to do this to make gdb work on Sierra. Not sure what it all means... $ cat ~/.gdbinit set startup-with-shell off After doing that, I get a different result running gdb. $ sudo /usr/local/Cellar/gdb/7.12.1/bin/gdb ./a.out GNU gdb (GDB) 7.12.1 ... snip ... Reading symbols from ./a.out...Reading symbols from /private/tmp/a.out.dSYM/Contents/Resources/DWARF/a.out...done. done. (gdb) run Starting program: /private/tmp/a.out [New Thread 0x1903 of process 26579] warning: unhandled dyld version (15) ^C Thread 2 received signal SIGINT, Interrupt. 0x00007fffc8342bc9 in ?? () (gdb) bt #0 0x00007fffc8342bc9 in ?? () #1 0x00007fff5fbfdfb0 in ?? () #2 0x0000000100479300 in ?? () #3 0x00000000019b1f09 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) quit A debugging session is active. Inferior 1 [process 26579] will be killed. Quit anyway? (y or n) y