|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [PATCH] enable modifying of registers from gdb
Hi Keir, Ian,
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.
For all these combinations of guests ...
* 32bit guest on 32bit xen
* 64bit guest on 64bit xen
* 32bit guest on 64bit xen
... gdb is able to access the guest memory properly in these modes:
* Paging disabled kernel
* Paging enabled kernel
* Real mode
* User process memory
* 2M kernel pages on 64bit guest
* 4K user pages on 64bit guest
Also the setting of registers works for all the combinations.
Diffstat of the patch:
tools/libxc/xc_ptrace.c | 383 ++++++++++++++++++++++++---------------------
tools/libxc/xc_ptrace.h | 6
xen/arch/x86/hvm/vmx/vmx.c | 47 +++++
xen/common/domain.c | 17 +
4 files changed, 274 insertions(+), 179 deletions(-)
Please Comment or Apply.
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@xxxxxxxxx>
Thanks & Regards,
Nitin
-----------------------------------------------------------------------------------
Open Source Technology Center, Intel Corp
________________________________________
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Kamble, Nitin A
Sent: Monday, March 27, 2006 8:12 PM
To: Keir.Fraser@xxxxxxxxxxxx; Mallick, Asit K
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] enable modifying of registers from gdb
Hi Keir, Ian,
There were couple of bugs in the my friday's patch to enable 64bit gdb
debugging. I have fixed them in this patch. Also cleaned up the code for
map_domain_va_XX codet. Other than that, now this patch also enables setting of
registers from the gdb. Please comment or Apply.
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@xxxxxxxxx>
Thanks & Regards,
Nitin
-----------------------------------------------------------------------------------
Open Source Technology Center, Intel Corp
gdbserver_setregs_2M_pages_32bit_on_64bit_fix.patch
Description: gdbserver_setregs_2M_pages_32bit_on_64bit_fix.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|