diff mbox

[for-1.4,04/19] target-ppc: Fix build for PPC_DEBUG_DISAS

Message ID 1359293537-8251-5-git-send-email-afaerber@suse.de
State New
Headers show

Commit Message

Andreas Färber Jan. 27, 2013, 1:32 p.m. UTC
In r5949 / 76db3ba44ee8db671f804755f13b016eefd13288 (target-ppc: memory
load/store rework) variable little_endian was replaced with ctx.le_mode.
Update the debug code.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 target-ppc/translate.c |    2 +-
 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)

Comments

Alexander Graf Jan. 30, 2013, 10:17 a.m. UTC | #1
On 27.01.2013, at 14:32, Andreas Färber wrote:

> In r5949 / 76db3ba44ee8db671f804755f13b016eefd13288 (target-ppc: memory
> load/store rework) variable little_endian was replaced with ctx.le_mode.
> Update the debug code.
> 
> Signed-off-by: Andreas Färber <afaerber@suse.de>

Thanks, applied to ppc-next.

Alex

> ---
> target-ppc/translate.c |    2 +-
> 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
> 
> diff --git a/target-ppc/translate.c b/target-ppc/translate.c
> index 798b7ac..37ce55f 100644
> --- a/target-ppc/translate.c
> +++ b/target-ppc/translate.c
> @@ -9698,7 +9698,7 @@ static inline void gen_intermediate_code_internal(CPUPPCState *env,
>         }
>         LOG_DISAS("translate opcode %08x (%02x %02x %02x) (%s)\n",
>                     ctx.opcode, opc1(ctx.opcode), opc2(ctx.opcode),
> -                    opc3(ctx.opcode), little_endian ? "little" : "big");
> +                    opc3(ctx.opcode), ctx.le_mode ? "little" : "big");
>         if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP | CPU_LOG_TB_OP_OPT))) {
>             tcg_gen_debug_insn_start(ctx.nip);
>         }
> -- 
> 1.7.10.4
>
diff mbox

Patch

diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index 798b7ac..37ce55f 100644
--- a/target-ppc/translate.c
+++ b/target-ppc/translate.c
@@ -9698,7 +9698,7 @@  static inline void gen_intermediate_code_internal(CPUPPCState *env,
         }
         LOG_DISAS("translate opcode %08x (%02x %02x %02x) (%s)\n",
                     ctx.opcode, opc1(ctx.opcode), opc2(ctx.opcode),
-                    opc3(ctx.opcode), little_endian ? "little" : "big");
+                    opc3(ctx.opcode), ctx.le_mode ? "little" : "big");
         if (unlikely(qemu_loglevel_mask(CPU_LOG_TB_OP | CPU_LOG_TB_OP_OPT))) {
             tcg_gen_debug_insn_start(ctx.nip);
         }