add three functions: pkg/gdbserver/gengdb