Skip to content

Instantly share code, notes, and snippets.

@kemlath
kemlath / gist:7285356f97f67af5023cf99ee57317d6
Last active April 1, 2019 04:09
gdb 8.2.1 under Mojave

gdb has been more or less broken under OSX and was unusable under mojave, but there is hope...

This is description on how I got the latest release (dating fro 5.1.2019) up and running under mojave. In particular code signing has become more intricate under mojave since a debugger now needs the right entitlements not just a signature.

I'm assuming that a working gcc-8 installation is present (e.g. brew install gcc) and that a valid code signing certificate is in the SYSTEM keychain.

Here are the steps I took to get a working gdb: