[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH] enable modifying of registers from gdb
On 29 Mar 2006, at 03:56, Kamble, Nitin A wrote:
I have updated the code with more fixes/changes in the patch and
also cleaned up the map_domain_va code further. Now gdb is able to get
guest memory correctly in various guest modes.
Most of the patch looks fine, except for your changes to setvcpucontext
I think you should get rid of hvm_modify_guest_state() entirely
(deleting both svm and vmx implementations) and replace the call to it
in arch_set_info_guest() with a call to hvm_load_cpu_guest_regs().
I would then expect that your patch in domain.c is unnecessary: it
should work for you to call arch_set_info_guest() regardless of whether
DOMF_debugging is set.
Xen-devel mailing list