aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace/xenctx.c
diff options
context:
space:
mode:
authorIsaku Yamahata <yamahata@valinux.co.jp>2009-01-07 12:20:31 +0900
committerIsaku Yamahata <yamahata@valinux.co.jp>2009-01-07 12:20:31 +0900
commite2b255ceffc0da268c526cc03ba0ce2a1c4a0908 (patch)
tree8d4fa941f2a68f8ab0ac82a4b4d36adcf9cb70ea /tools/xentrace/xenctx.c
parent4d44b2eab3682131b0f7bc43017551579aceeb39 (diff)
downloadxen-e2b255ceffc0da268c526cc03ba0ce2a1c4a0908.tar.gz
xen-e2b255ceffc0da268c526cc03ba0ce2a1c4a0908.tar.bz2
xen-e2b255ceffc0da268c526cc03ba0ce2a1c4a0908.zip
[IA64] compilation fix of xenctx
This patch fixes the following compilation error caused by 18963:9cc632cc6d40 of xen-unstable.hg > xenctx.c: In function 'print_ctx': > xenctx.c:430: error: request for member 'c' in something not a structure or union > xenctx.c:431: error: 'vcpu_guest_context_any_t' has no member named 'regs' > xenctx.c:484: error: 'vcpu_guest_context_any_t' has no member named 'event_callback_ip' Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'tools/xentrace/xenctx.c')
-rw-r--r--tools/xentrace/xenctx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c
index bf3aede281..ec01427413 100644
--- a/tools/xentrace/xenctx.c
+++ b/tools/xentrace/xenctx.c
@@ -427,8 +427,8 @@ static void print_tr(int i, const struct ia64_tr_entry *tr)
void print_ctx(vcpu_guest_context_any_t *ctx)
{
- struct vcpu_guest_context_regs *regs = &ctx.c->regs;
- struct vcpu_tr_regs *tr = &ctx->regs.tr;
+ struct vcpu_guest_context_regs *regs = &ctx->c.regs;
+ struct vcpu_tr_regs *tr = &ctx->c.regs.tr;
int i;
unsigned int rbs_size, cfm_sof;
@@ -481,7 +481,7 @@ void print_ctx(vcpu_guest_context_any_t *ctx)
printf(" cmcv: %016lx\n", regs->cr.cmcv);
printf(" lrr0: %016lx ", regs->cr.lrr0);
printf(" lrr1: %016lx ", regs->cr.lrr1);
- printf(" ev_cb:%016lx\n", ctx->event_callback_ip);
+ printf(" ev_cb:%016lx\n", ctx->c.event_callback_ip);
}
if (disp_ar_regs) {