From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Re: xen-kernel and EDD Date: Thu, 25 Aug 2011 11:24:11 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Lin-Bao Zhang <2004.zhang@gmail.com>, Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 25/08/2011 10:50, "Lin-Bao Zhang" <2004.zhang@gmail.com> wrote: > Hi Keir, > > I have another question about debugging Xen-hypervisor. > Do you have some advanced debugging method ? > > I am reviewing xen source code, I just find in ../Config.mk there is a > debug = y > in xen/Rules.mk ,there is only "verbose" and "crash_debug" . > > but just now , I recompile xen source to restore the INT13 error , but > I didn't see any useful and valuable messages. > > do you have some comments ?thanks very much! > in a word, can you share your debugging experience ? I think this > will be very useful for all xen source developers and debuggers. I build with debug=y to turn on assertions and more verbose printing. I then generally add extra printk tracing to close in on a specific bug. That's it really. -- Keir > -Bob