added first draft of gdb support