Besides of that, even when I compile the debuggers.hg version of xen-4.1.0 at 
http://xenbits.xensource.com/ext/debuggers.hg, it will interrupt for:
gcc -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall 
-Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -DNDEBUG 
-nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include 
-Werror -Wno-pointer-arith -pipe -I/home/john/debuggers.hg/xen/include  
-I/home/john/debuggers.hg/xen/include/asm-x86/mach-generic 
-I/home/john/debuggers.hg/xen/include/asm-x86/mach-default -msoft-float 
-fno-stack-protector -fno-exceptions -mno-red-zone -fpic 
-fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ 
-DXEN_KDB_CONFIG -MMD -MF .cpupool.o.d -c cpupool.c -o cpupool.ocpupool.c: In 
function ‘cpupool_add_domain’:cpupool.c:331:9: error: variable ‘n_dom’ set but 
not used [-Werror=unused-but-set-variable]     int n_dom;         ^cpupool.c: 
In function ‘cpupool_rm_domain’:cpupool.c:356:9: error: variable ‘n_dom’ set 
but not used [-Werror=unused-but-set-variable]     int n_dom;         
^cpupool.c:355:9: error: variable ‘cpupool_id’ set but not used 
[-Werror=unused-but-set-variable]     int cpupool_id;         ^cc1: all 
warnings being treated as errorsmake[4]: *** [cpupool.o] Error 1make[4]: 
Leaving directory `/home/john/debuggers.hg/xen/common'make[3]: *** 
[/home/john/debuggers.hg/xen/common/built_in.o] Error 2make[3]: Leaving 
directory `/home/john/debuggers.hg/xen/arch/x86'make[2]: *** 
[/home/john/debuggers.hg/xen/xen] Error 2make[2]: Leaving directory 
`/home/john/debuggers.hg/xen'make[1]: *** [install] Error 2make[1]: Leaving 
directory `/home/john/debuggers.hg/xen'make: *** [install-xen] Error 2
Actually, the variables are all used in the function, I don't know why this 
happens. After removing -Werror option in Makefile, it still happens.
From: quizy_jo...@outlook.com
To: ufimts...@gmail.com
Date: Thu, 24 Dec 2015 02:36:34 +0000
CC: elena.ufimts...@oracle.com; xen-devel@lists.xen.org; t...@xen.org
Subject: Re: [Xen-devel] how to enable kdb for xen




Hi, Elena. I tried to patch xen-4.4.1 with the patches at 
http://lists.xen.org/archives/html/xen-devel/2014-04/msg00003.html. However, 
after the patching, when I make with kdb=y, it would interrupt for error: 
'struct domain' has no member named 'is_paused_by_controller'. Does the patch 
really work with xen-4.4?

> Date: Fri, 18 Dec 2015 23:58:52 -0500
> Subject: Re: [Xen-devel] how to enable kdb for xen
> From: ufimts...@gmail.com
> To: quizy_jo...@outlook.com
> CC: konrad.w...@oracle.com; elena.ufimts...@oracle.com; t...@xen.org; 
> xen-devel@lists.xen.org
> 
> On Fri, Dec 18, 2015 at 11:24 PM, quizyjones <quizy_jo...@outlook.com> wrote:
> > Is there any progress?
> 
> Hey
> 
> I did look into this and I could not find the trace of what I have
> done before. So I decided to ytu and port it to current version from
> this Mukesh patch:
> http://lists.xen.org/archives/html/xen-devel/2014-04/msg00003.html
> It looks like it applied without major issues, but I have not tested
> it yet, but its in my plan for next week.
> 
> Elena
> 
> >
> >> Date: Wed, 16 Dec 2015 09:42:47 -0500
> >> From: ufimts...@gmail.com
> >> To: konrad.w...@oracle.com
> >> CC: elena.ufimts...@oracle.com; quizy_jo...@outlook.com; t...@xen.org;
> >> xen-devel@lists.xen.org
> >> Subject: Re: [Xen-devel] how to enable kdb for xen
> >
> >>
> >> On Wed, Dec 16, 2015 at 9:30 AM, Konrad Rzeszutek Wilk
> >> <konrad.w...@oracle.com> wrote:
> >> > On December 16, 2015 3:08:04 AM EST, quizyjones
> >> > <quizy_jo...@outlook.com> wrote:
> >> >>The version embedded with kdb only updates to 4.1.0. How can I use it
> >> >>with xen 4.6? Or is there any other debuggers which can step in Xen?
> >> >
> >> > CCing Elena who poked at it some point. Not sure if she got it ported
> >> > over though.
> >> >>
> >> >>From: quizy_jo...@outlook.com
> >> >>To: xen-devel@lists.xen.org
> >> >>Date: Wed, 16 Dec 2015 06:57:02 +0000
> >> >>Subject: [Xen-devel] how to enable kdb for xen
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>I tried to debug xen use kdb. After compiling xen with debug=y, is
> >> >>there any further steps I should take? I can get console outputs start
> >> >>with: Xen 4.4.1 (XEN) Xen version 4.4.1 (root@) (gcc
> >> >>(Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4) debug=y Wed Dec 16 11:01:14
> >> >>.....But I can't step into the boot procedure. The kdb seems not built
> >> >>in and there is no kdb folder in /tools/debugger. How can I build
> >> >>xen-4.4.1/xen-4.4.6 with kdb?
> >>
> >> Hey!
> >> If I recall correctly, I did try to port kdb. Let me find out what
> >> happened there.
> >>
> >> Elena
> >>
> >> >>
> >> >>
> >> >>
> >> >>_______________________________________________
> >> >>Xen-devel mailing list
> >> >>Xen-devel@lists.xen.org
> >> >>http://lists.xen.org/xen-devel
> >> >>
> >> >>------------------------------------------------------------------------
> >> >>
> >> >>_______________________________________________
> >> >>Xen-devel mailing list
> >> >>Xen-devel@lists.xen.org
> >> >>http://lists.xen.org/xen-devel
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Xen-devel mailing list
> >> > Xen-devel@lists.xen.org
> >> > http://lists.xen.org/xen-devel
> >>
> >>
> >>
> >> --
> >> Elena
> >>
> >> _______________________________________________
> >> Xen-devel mailing list
> >> Xen-devel@lists.xen.org
> >> http://lists.xen.org/xen-devel
> 
> 
> 
> -- 
> Elena
                                          

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel                                    
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to