How to install gdb (debugger) in Mac OSX El Capitan ? I have tried installing gdb but failed couple of time.
I was following this URL : http://ntraft.com/installing-gdb-on-os-x-mavericks/ , MAC doesnot allow to install MacPorts.
Could anyone please help me in this regard.
Install Homebrew first :
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Then run this : brew install gdb
brew install gdb
2.1m questions
2.1m answers
60 comments
57.0k users