There are lots of help around regarding the incompatibility of Sierra and gdb, and everyone says that the best solution is waiting.
The problem seems to still persist, could anyone please help me how I can solve it?
I have already tried this and it does not work on my Sierra.
GDB kind of doesn't work on macOS Sierra
Thanks
A fix has been created, but not merged and released yet. In the meantime, I have patched the most recent release of GDB with the changes and have things working with the latest version of Sierra. You can access my repo below and compile from scratch. Be sure to code sign the new binary and "set startup-with-shell off" in .gdbinit.