Well, thanks to Jonas, you made me think about "/usr/local/bin" ... I've got a working solution!
I tried HomeBrew and MacPorts, but both failed in El Capitan (they do not support a pre-release OS - which make perfect sense) and I'm not educated enough on the topic to fix it.
I did however manage to get the GDB from XCode 4.x to work again.
Probably not the best or cleanest method, but most certainly the easiest, quickest and a working method.
For this I took the “
gdb-i386-apple-darwin” file (in /usr/libexec/gdb) and renamed it to “
gdb”. After that I copy it into “
/usr/local/bin”, and that works!
Even breakpoints and stepping through code works like a charm.
You can download that version at
Tweaking4All, I tried to upload it as an attachment but it failed, and I'm not 100% sure how appropriate that would be.