From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohamad Rezaei Subject: Re: how to debug xen itself? Date: Tue, 27 Dec 2011 12:14:02 +0330 Message-ID: <4EF98552.9060205@gmail.com> References: <4EF714C9.5010007@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4EF714C9.5010007@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 12/25/2011 03:49 PM, Mohamad Rezaei wrote: > hi, > > I am trying to debug xen hypervisor through gdb, and its kgdb. I have > compiled xen with these options: --> make debug=y optimize=0 > crash_debug=y CMDLINE="console=com1 gdb=com1 earlygdb=y" -j8 > > I was expecting xen to stop, and wait for my gdb connection through > serial port, but it boots up flawlessly. I am not sure what is my > problem. Should I do something other than that. > > I am doing this because I want to use debugger to get better view of xen > internals. > Can someone just let me know if I am doing something wrong? -- Best Regards, Mohamad Rezaei