GDB missing in OS X v10.9 (Mavericks)

l'L'l picture l'L'l · Oct 24, 2013 · Viewed 98.5k times · Source

I went to use GDB in OS X v10.9 (Mavericks), and it's not there. Where has it gone?

# /usr/lib/gdb
-bash: /usr/bin/gdb: No such file or directory
# gdb
-bash: gdb: command not found

I also launched Xcode 5.0.1:

Preferences > Downloads

..and there's no longer command line tools available — ffs!

Answer

Catfish_Man picture Catfish_Man · Oct 24, 2013

gdb has been replaced by lldb, and is no longer supported. gcc and llvm-gcc are also gone, replaced by clang.