Hi,
peteness's great insight actually means that only two files TOTALLING 7MB are needed.
(.app)/Contents/Developer/usr/bin/gdb
and
(.app)/Contents/Developer/usr/libexec/gdb/gdb-i386-apple-darwin
So if you have a friend who can email you these two files (Xcode 4.6.3), put them in a Desktop/TEMPDIR folder together.
Then get superuser permission:
see
http://support.apple.com/kb/PH14281Note: 'Choose edit..' means select Edit in the top screen menu bar etc.
Four terminal commands must then be executed.
(1) Make the current directory /usr/libexec:
cd /usr/libexec
(2) Make a directory gdb in this folder /usr/libexec :
mkdir gdb
(3) copy the gdb-i386-apple-darwin into the newly created folder:
/bin/cp /Users/.../Desktop/TEMPDIR/gdb-i386-apple-darwin /usr/libexec/gdb/gdb-i386-apple-darwin
(4) copy the gdb file :
/bin/cp /Users/.../Desktop/TEMPDIR/gdb /usr/bin/gdb
Thats all.
You check things using pwd and ls commands.
Don't forget to change back i.e. disable your root permissions (or you may be sorry later).
All this is of course child's play for the guru's, but it's so easy to foul up.
I have just installed Lazarus 1.2RC1 and it works fine if told where to find gdb (i.e. in /usr/bin) .
Maybe someone can twist Apple's arm to just please include these two files in their next upgrade.
After all, the coming Mac Pro (red or black) is worth far less if the best software package on the planet (not kidding) can't run on it.
Thanks again to rale and peteness.
Brian Coleman