Enables the debugger on OS X. Requires presence of a recent gdb version,
e.g. from MacPorts.
REVIEW: 120510
fix ByteArray/QByteArray typo
gdb: fix member order
gdb: "#else if" does not exist, "#elif" does