-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unhandled dyld version running gdb #20047
Comments
Did you follow all of the instructions in the
|
I ran into this when I installed gdb this morning. I followed both of those directions (codesign the binary, add that line to my |
Did you follow the specific instructions regarding codesigning the |
I did follow the both parts of the instructions, including code signing the certificate and adding the specified line to my .gdbinit. To double check that .gdbinit was loading, I installed an improved .gdbinit available for free and I have the same error, though it does show a more detailed output when I interrupt the process after it fails due to the dyld version. |
Followed detailed and updated instructions for macOS 10.13 (High Sierra) here: https://gist.github.com/gravitylow/fb595186ce6068537a6e9da6d8b5b96d The GDB Wiki has not been updated to reflect recent macOS changes in SIP: https://sourceware.org/gdb/wiki/BuildingOnDarwin After running
This is after using
And yes,
And before you ask:
|
I have the same problem, and I have signed gdb according to the instructions.
After successfully signing gdb, I receive this:
To show that the signing worked: |
I have the very same problem:
and I did follow all instructions as well. However, contrary to @olivierlacan , I am able to start gdb without sudo:
If I start with sudo, I get another error:
|
You'll need to seek help from upstream troubleshooting this. |
For those curious, |
I am trying to run gdb on Mac OSX Sierra. I have installed the package using brew and codesigned it as well. GDB starts normally and when I try to run the debugger it correctly prompts for permission to interact with a process. However, once it is running it immediately crashes, citing an unhandled dyld version. I found a similar issue here Homebrew/brew#2636 but I cannot find any record of it being reported here. The response to the aforementioned post indicated that it should be reported here, so I figured I should try. My apologies if this was in error.
I was trying to run gdb through emacs (m-x gdb) and I got specifically this error message:
warning: unhandled dyld version (15)
The error is the same if I run gdb through shell.
The installation steps I used were
brew install gdb
killall taskgated
sudo codesign gdb-cert /usr/local/bin/gdb
sudo launchctl load /System/Library/LaunchDaemons/com.apple.taskgated.plist
The text was updated successfully, but these errors were encountered: