Debugging DomU
I am facing problems with debugging DomU.
I have made changes in the gdt table in the file head.S for Dom U. Because of that the domain is crashing.
For debugging, I followed the steps mentioned in the file /xen-unstable/tools/debugger/gdb/README. I also made changes in the /xen/Rules.mk file and compiled domU with -g C flag.
However, as mentioned in the README file no /var/xen/dump/<Domain-name>.<DomainID>.core file is generated.
Rules.mk file :
verbose ?= y debug ?= y perfc ?= n
perfc_arrays?= ndomu_debug ?= ycrash_debug ?= y
Am I missing something?
Thanks for replies.
-Purav
domu_debug and crash_debug are mutually exclusive.
Quoted 23 lines · Purav Saraiya
I am facing problems with debugging DomU.
I have made changes in the gdt table in the file
head.Sfor Dom U. Because of that the domain is crashing.For debugging, I followed the steps mentioned in the file /xen-unstable/tools/debugger/gdb/README. I also made changes in the /xen/Rules.mk file and compiled domU with -g C flag.
However, as mentioned in the README file no /var/xen/dump/<Domain-name>.<DomainID>.core file is generated.
Rules.mk file :
verbose ?= y debug ?= y perfc ?= nperfc_arrays?= n
domu_debug?= ycrash_debug?= yAm I missing something?
Quoted 8 lines
Thanks for replies.
-Purav_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
With the patches I've sent today domu_debug is now a run-time option. Enabling crash_debug will not interfere with domU debugging.
-Kip
Quoted 38 lines · Kip Macy
domu_debugandcrash_debugare mutually exclusive.Quoted 32 lines · Purav Saraiya
I am facing problems with debugging DomU.
I have made changes in the gdt table in the file
head.Sfor Dom U. Because
of that the domain is crashing.For debugging, I followed the steps mentioned in the file /xen-unstable/tools/debugger/gdb/README. I also made changes in the /xen/Rules.mk file and compiled domU with -g C flag.
However, as mentioned in the README file no /var/xen/dump/<Domain-name>.<DomainID>.core file is generated.
Rules.mk file :
verbose ?= y debug ?= y perfc ?= nperfc_arrays?= n
domu_debug?= ycrash_debug?= yAm I missing something?
Thanks for replies.
-Purav_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel