xcode installing on - GDB missing in OS X v10.9 (Mavericks)
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!
Thanks I'L'I. I used your ./configure options and worked like a charm. Next step is to tell OS X that we allow GDB to debug. This is done by creating a certificate through the keychain, export it and then
sudo codesing -s gdb-cert /route/to/gdb, give credential and we are done.
Follow the steps given at here, it is working fine:http://wiki.lazarus.freepascal.org/GDB_on_OS_X_Mavericks_and_Xcode_5
You could install www.macports.org and install GDB. However, you'll have to wait for the MacPorts installer for Mavericks, as at the time of writing this it is not yet released.
Run this to install command line tools:
Install Mac OS X v10.8 (Mountain Lion) with Xcode 4.6 in a virtual machine and get fun )))
I use VMware Fusion, but you can try the free VirtualBox. You can get old versions of MacOS from AppStore and old version of Xcode from Apple Developer site.