* [PATCH][8/9] Really enable gdbserver for real mode code.
@ 2005-07-25 21:01 Arun Sharma
0 siblings, 0 replies; only message in thread
From: Arun Sharma @ 2005-07-25 21:01 UTC (permalink / raw)
To: Ian Pratt, Keir Fraser; +Cc: xen-devel
Really enable gdbserver for real mode code.
Missed out one instance where we need to check if we're running on
1:1 page tables with guest paging disabled.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
diff -r b1e7ed1be500 -r d016dd226b0d tools/libxc/xc_ptrace.c
--- a/tools/libxc/xc_ptrace.c Mon Jul 18 22:37:00 2005
+++ b/tools/libxc/xc_ptrace.c Mon Jul 18 23:15:02 2005
@@ -202,7 +202,7 @@
}
if ((page = pde_virt[cpu][vtopti(va)]) == 0) /* logical address */
goto error_out;
- if (ctxt[cpu].flags & VGCF_VMX_GUEST)
+ if (ctxt[cpu].flags & VGCF_VMX_GUEST && paging_enabled(&ctxt[cpu]))
page = page_array[page >> PAGE_SHIFT] << PAGE_SHIFT;
if (page != page_phys[cpu] || perm != prev_perm[cpu])
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-25 21:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-25 21:01 [PATCH][8/9] Really enable gdbserver for real mode code Arun Sharma
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.