From: Stefan Weil Date: Sun, 24 Jun 2012 04:04:17 +0000 (+0000) Subject: target-ppc: Fix build with --enable-debug X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~3969 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=975e5463584211e6dd6eff3c8317ff516b8e983e;p=sdk%2Femulator%2Fqemu.git target-ppc: Fix build with --enable-debug The order of the arguments was wrong (copy+paste error). Signed-off-by: Stefan Weil Signed-off-by: Alexander Graf --- diff --git a/target-ppc/translate.c b/target-ppc/translate.c index 73ee74b..91eb7a0 100644 --- a/target-ppc/translate.c +++ b/target-ppc/translate.c @@ -5794,7 +5794,7 @@ static void gen_mtdcrux(DisasContext *ctx) { /* NIP cannot be restored if the memory exception comes from an helper */ gen_update_nip(ctx, ctx->nip - 4); - gen_helper_store_dcr(cpu_gpr[rA(ctx->opcode)], cpu_env, + gen_helper_store_dcr(cpu_env, cpu_gpr[rA(ctx->opcode)], cpu_gpr[rS(ctx->opcode)]); /* Note: Rc update flag set leads to undefined state of Rc0 */ }