[testnet] gdb support