I am making an attempt to run gdb on MacOS 12.6.8, on macbook professional 2015. To correctly set up gdb I am following directions from the primary reply in https://stackoverflow.com/questions/18423124/please-check-gdb-is-codesigned-see-taskgated8-how-to-get-gdb-installed-w which is a extremely upvoted one.
It says that I must signal gdb executable with a codesign and a created certificates, however when executing a command:
sudo codesign -fs "gdb-cert" /usr/native/bin/gdb
it fails with:
libc++abi: terminating with uncaught exception of kind std::runtime_error: Solely ad-hoc identities supported, requested: 'gdb-cert'
I could not discover anybody complaining with this particular error when it comes to gdb set up.
How can I make my certificates a supported entity? Or is there one other technique to signal gdb?
