Re: [Qemu-devel] Adding another debug protocol

2012-11-15 Thread Jan Kiszka
On 2012-11-15 02:58, Peter Cheung wrote: Date: Wed, 14 Nov 2012 17:43:12 +0100 From: jan.kis...@siemens.com To: mcheun...@hotmail.com CC: peter.mayd...@linaro.org; qemu-devel@nongnu.org Subject: Re: [Qemu-devel] Adding another debug protocol On 2012-11-14 17:28, Peter Cheung wrote: hi Jan

Re: [Qemu-devel] Adding another debug protocol

2012-11-15 Thread Peter Cheung
: peter.mayd...@linaro.org; qemu-devel@nongnu.org Subject: Re: [Qemu-devel] Adding another debug protocol On 2012-11-14 17:28, Peter Cheung wrote: hi Jan, you are the maintainer of the gdb server of qemu? Not formally. I'm heavily using it for kernel debugging for a couple of years

[Qemu-devel] Adding another debug protocol

2012-11-14 Thread Peter Cheung
Dear AllI am going to add another debugger server into QEMU, so i need to1) create another socket server, similar than gdbserver, to receive the command from debugger2) add another option, such as --start-debugger-server to start the socket server. After I work out the whole thing, how can

Re: [Qemu-devel] Adding another debug protocol

2012-11-14 Thread Peter Maydell
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

Re: [Qemu-devel] Adding another debug protocol

2012-11-14 Thread Peter Cheung
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 + From: peter.mayd...@linaro.org To: mcheun...@hotmail.com CC: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] Adding another

Re: [Qemu-devel] Adding another debug protocol

2012-11-14 Thread Jan Kiszka
...@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

Re: [Qemu-devel] Adding another debug protocol

2012-11-14 Thread Peter Cheung
cpu N will allow you to switch between CPUs. It's not nice but saved my days a few times already. Jan Thanksfrom Peter Date: Wed, 14 Nov 2012 10:54:02 + From: peter.mayd...@linaro.org To: mcheun...@hotmail.com CC: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] Adding another

Re: [Qemu-devel] Adding another debug protocol

2012-11-14 Thread Jan Kiszka
On 2012-11-14 17:28, Peter Cheung wrote: hi Jan, you are the maintainer of the gdb server of qemu? Not formally. I'm heavily using it for kernel debugging for a couple of years. Therefore, I'm fixing and enhancing it from time to time. I think if I can't create my debug protocol, it is not

Re: [Qemu-devel] Adding another debug protocol

2012-11-14 Thread Peter Cheung
Date: Wed, 14 Nov 2012 17:43:12 +0100 From: jan.kis...@siemens.com To: mcheun...@hotmail.com CC: peter.mayd...@linaro.org; qemu-devel@nongnu.org Subject: Re: [Qemu-devel] Adding another debug protocol On 2012-11-14 17:28, Peter Cheung wrote: hi Jan, you are the maintainer of the gdb