modify the tool/gdbscript to make the cmd running in the shell