https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80498
--- Comment #4 from jonne <gcc at zutt dot org> --- I managed to code-sign gdb by following https://sourceware.org/gdb/wiki/BuildingOnDarwin. Not that I expect it to matter much related to this ticket, but I also noticed the stacktrace looks a little different when I retried. I ran gdb a few times, and now the trace looks similar to this every time: (gdb) run Starting program: /private/tmp/a.out [New Thread 0x1403 of process 30403] warning: unhandled dyld version (15) ^C Thread 2 received signal SIGINT, Interrupt. 0x00007fffc8342bc9 in ?? () (gdb) bt #0 0x00007fffc8342bc9 in ?? () #1 0x00007fff5fbfd540 in ?? () #2 0x0000000100479300 in ?? () #3 0x00007fff5fbfc4f0 in ?? () #4 0x000000010016b551 in ?? () #5 0x00007fff00000000 in ?? () #6 0x0000000100000001 in ?? () #7 0x00007fff5fbfc560 in ?? () #8 0x000000005fbfc550 in ?? () #9 0x0000000100076970 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::__cxx11::regex_traits<char>::lookup_collatename<char const*>(char const*, char const*) const::__collatenames () #10 0x00000001015ae000 in ?? () #11 0x00007fff5fbfc4e0 in ?? () #12 0x000000000000000c in ?? () #13 0x0000000100478e9b in ?? () #14 0x0000000100046fbb in _GLOBAL__sub_I_00099_1_m.cpp () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb)