Mailing List Archive

[PATCH] xenctx, ia64: fix compilation error.
xenctx, ia64: fix compilation error.

This patch fixes the following error on ia64 casued by
the changeset of 19451:b7a11dff84c0.

> xenctx.c: In function dump_ctx:
> xenctx.c:878: warning: implicit declaration of function print_code

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>

diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c
--- a/tools/xentrace/xenctx.c
+++ b/tools/xentrace/xenctx.c
@@ -875,8 +875,8 @@ static void dump_ctx(int vcpu)
#endif

print_ctx(&ctx);
+#ifndef NO_TRANSLATION
print_code(&ctx, vcpu);
-#ifndef NO_TRANSLATION
if (is_kernel_text(instr_pointer(&ctx)))
print_stack(&ctx, vcpu, guest_word_size);
#endif


--
yamahata

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