It appears that Apple (who have been switching from gcc to clang for some time) stopped including gdb in 10.8. Even in the CommandLine tools.
The clang debugger is lldb. It is similar in use to gdb, and I’m not finding it unduly difficult to switch. Aside from explaining to my finger that they shouldn’t type gdb for the debugger anymore: my fingers don’t like change.
Yes, you can still type gcc to compile things, but look:
$ gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn) Target: x86_64-apple-darwin12.5.0 Thread model: posix
Related Posts:
- Where to place $PATH variable assertions in zsh?
- Terminal error: zsh: permission denied: ./startup.sh
- mvn command not found in OSX Mavrerick
- Change default title in mac terminal window
- Installing cgdb on a mac os x
- mvn command not found in OSX Mavrerick
- gdb fails with “Unable to find Mach task port for process-id” error
- How to use vim in the terminal?
- -bash: export: `=’: not a valid identifier
- How to use vim in the terminal?
- OS X cp command in Terminal – No such file or directory
- psql: FATAL: role “postgres” does not exist
- Mac install and open mysql using terminal
- Run script on mac prompt “Permission denied”
- Finding text inside a folder using terminal
- Command not found go — on Mac after installing Go
- How can I display the current branch and folder path in terminal?
- How to navigate to to different directories in the terminal (mac)?
- Open Sublime Text from Terminal in macOS
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- Enable OpenMP support in clang in Mac OS X (sierra & Mojave)
- Git is not working after macOS Update (xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
- How can I run python in terminal on a mac?
- Enable OpenMP support in clang in Mac OS X (sierra & Mojave)
- ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’
- No “Proceed Anyway” option on NET::ERR_CERT_INVALID in Chrome on MacOS
- Xcode is not currently available from the Software Update server
- How to view / open a calculator in mac OS X?
- Xcode is not currently available from the Software Update server
- How to uninstall Python 2.7 on a Mac OS X 10.6.4?
- Please enter a commit message to explain why this merge is necessary, especially if it merges an updated upstream into a topic branch
- VirtualBox NS_ERROR_FAILURE (0x80004005) macOS
- Installing Homebrew on OS X
- Updating Python on Mac
- How do I upgrade to Python 3.6 with conda?
- You don’t have write permissions for the /Library/Ruby/Gems/2.3.0 directory
- pip or pip3 to install packages for Python 3?
- You don’t have write permissions for the /Library/Ruby/Gems/2.3.0 directory. (mac user)
- How to change default Python version?
- SocketException: Address already in use MONGODB
- Why is the apt-get function not working in the terminal on Mac OS X v10.9 (Mavericks)?
- OS X: equivalent of Linux’s wget
- Failed to attach the USB device SEGGER J-Link [0100] to the virtual machine WINDOWS 7
- You don’t have write permissions for the /Library/Ruby/Gems/2.3.0 directory. (mac user)
- ImportError: No module named sklearn (Python)
- What’s a good hex editor/viewer for the Mac?
- Where to find Application Loader app in Mac?
- OS X: equivalent of Linux’s wget
- How to switch Python versions in Terminal?
- How to change default Python version?
- Brew install docker does not include docker engine?
- What version of Python is on my Mac?
- brew install mysql on macOS
- How do you update Xcode on OSX to the latest version?
- Mongod complains that there is no /data/db folder
- How can I open the Atom editor from the command line in OS X?
- How to uninstall Docker completely from a Mac?
- How to easily install and uninstall docker on MacOs
- How to install wget in macOS?
- Maven Install on Mac OS X
- dyld: Library not loaded … Reason: Image not found
- How to install Java 8 on Mac
- editing PATH variable on mac
- Find (and kill) process locking port 3000 on Mac
- OS X Framework Library not loaded: ‘Image not found’
- keep getting “? Something is already running on port 3000” when I do npm start on react app
- How to update Ruby with Homebrew?
- Upgrade Node.js to the latest version on Mac OS
- Install Visual Studio 2015 on mac
- Vim Can’t Save File (E212)
- Recursively find all files that match a certain pattern
- How do I update the password for Git?
- How can I install a previous version of Python 3 in macOS using homebrew?
- “code .” Not working in Command Line for Visual Studio Code on OSX/Mac
- What is the “Illegal Instruction: 4” error and why does “-mmacosx-version-min=10.x” fix it?
- How can I Remove .DS_Store files from a Git repository?
- Shared folder between MacOSX and Windows on Virtual Box
- VirtualBox: mount.vboxsf: mounting failed with the error: No such device
- Installing GCC on macOS Catalina
- Open an .html file with default browser using Bash on Mac
- adb command not found
- How do I edit $PATH (.bash_profile) on OS X?
- OS X 10.9.2: checking whether the C compiler works… no
- matplotlib: RuntimeError: Python is not installed as a framework
- Arduino IDE is not showing any port macOS
- psql: command not found Mac
- Unknown ending signal when using debugger gdb
- Can’t connect to MySQL server on ‘127.0.0.1’ (61) on Mac
- boto3 python 2.7 ImportError: No module named boto3 USER_BASE USER_SITE site packages doesn’t exist
- Python: source code string cannot contain null bytes
- Python can’t find module NLTK
- sed command with -i option failing on Mac, but works on Linux
- Reset MySQL root password using ALTER USER statement after install on Mac
- Making sure /usr/local/bin is in my $PATH on mac
- Why does cURL return error “(23) Failed writing body”?
- cannot download, $GOPATH not set
- How to install pip for Python 3 on Mac OS X?
- What is the difference between MacVim and regular Vim?
- Updating php version on mac
- Kill a python process