Add gdb support.