How to specify which GDB I can use in Xcode on MacOS

How to specify which GDB (with full path) I can use in Xcode on MacOS? Thanks.

+1
source share
1 answer

You can set the default PBXGDBPath user for Xcode to specify a different version of GDB to use Xcode.

defaults write com.apple.Xcode PBXGDBPath <path/to/your/gdb>

http://developer.apple.com/documentation/DeveloperTools/Reference/XcodeUserDefaultRef/100-Xcode_User_Defaults/UserDefaultRef.html#//apple_ref/doc/uid/TP40005535-CH3-SW54

+2
source

All Articles