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?= n domu_debug ?= y crash_debug ?= y Am I missing something? Thanks for replies. -Purav _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
domu_debug and crash_debug are mutually exclusive. On 11/19/05, Purav Saraiya <purav@cc.gatech.edu> wrote:> > 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?= n > domu_debug ?= y > crash_debug ?= y > > Am I missing something? > > Thanks for replies. > -Purav > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com 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 On 12/1/05, Kip Macy <kip.macy@gmail.com> wrote:> > domu_debug and crash_debug are mutually exclusive. > > On 11/19/05, Purav Saraiya <purav@cc.gatech.edu> wrote: > > > > 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?= n > > domu_debug ?= y > > crash_debug ?= y > > > > Am I missing something? > > > > Thanks for replies. > > -Purav > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel