Add --gdb option to waf
Each time a program crashes (with SIGSEGV, for example), instruction is printed to run the command under gdb. It requires manually copying parameters, escaping the quotes etc.
I added --gdb option, so it can be simply appended to ./waf --run ...
command that crashed and modified the printed instruction accordingly.