Hi Cannot use gdb protocol, because it is slow.Also, the original gdb stub can dump out GDT/IDT/CR0 directly.
Thanksfrom Peter > Date: Wed, 14 Nov 2012 10:54:02 +0000 > From: peter.mayd...@linaro.org > To: mcheun...@hotmail.com > CC: qemu-devel@nongnu.org > Subject: Re: [Qemu-devel] Adding another debug protocol > > On 14 November 2012 10:45, Peter Cheung <mcheun...@hotmail.com> wrote: > > Dear All > > I am going to add another debugger server into QEMU, so i need to > > 1) create another socket server, similar than gdbserver, to receive the > > command from debugger > > 2) add another option, such as "--start-debugger-server" to start the socket > > server. > > > > After I work out the whole thing, how can i ask for the qemu maintainer to > > accept my code? I believe i should write a proposal first. > > Probably worth including a summary of why your second debug protocol > couldn't be implemented as a translation layer between gdbserver > protocol and whatever it is you need. > > -- PMM >