[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] dummy print_stack() func for NO_TRANSLATION path



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID c974a6e3f517e695521e49bb767663631a2b8364
# Parent  ea306829506c657565937916d0922aeab211f494
[IA64] dummy print_stack() func for NO_TRANSLATION path

Signed-off-by: Alex Williamson <alex.williamson@xxxxxx>
---
 tools/xentrace/xenctx.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r ea306829506c -r c974a6e3f517 tools/xentrace/xenctx.c
--- a/tools/xentrace/xenctx.c   Mon Jun 19 13:45:42 2006 -0600
+++ b/tools/xentrace/xenctx.c   Mon Jun 19 14:55:13 2006 -0600
@@ -428,6 +428,8 @@ void print_stack(vcpu_guest_context_t *c
         }
     }
 }
+#else
+#define print_stack(ctx, vcpu)
 #endif
 
 void dump_ctx(int vcpu)
@@ -451,10 +453,8 @@ void dump_ctx(int vcpu)
     }
 
     print_ctx(&ctx);
-#ifndef NO_TRANSLATION
     if (is_kernel_text(INSTR_POINTER((&ctx.user_regs))))
         print_stack(&ctx, vcpu);
-#endif
 
     ret = xc_domain_unpause(xc_handle, domid);
     if (ret < 0) {

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.