qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] Fix PPC branch insn debugging


From: Blue Swirl
Subject: [Qemu-devel] [PATCH] Fix PPC branch insn debugging
Date: Fri, 13 Feb 2009 23:27:55 +0200

Hi,

With this patch applied, single stepping works even from the first
instruction (bl 0xfff01704) in 0xfffffffc. For some reason, the first
instruction doesn't get disassembled.

IN:

OP:
 movi_i32 lr,$0x0
 movi_i32 nip,$0xfff01704
 movi_i32 tmp0,$0x10002
 movi_i64 tmp1,$raise_exception
 call tmp1,$0x0,$0,tmp0
 exit_tb $0x0

IN:
0xfff01704:  li      r0,0

OP:
 movi_i32 r0,$0x0
 movi_i32 nip,$0xfff01708
 movi_i32 nip,$0xfff01708
 movi_i32 tmp0,$0x10002
 movi_i64 tmp1,$raise_exception
 call tmp1,$0x0,$0,tmp0
 exit_tb $0x0

Attachment: fix_ppc_branch_debug.diff
Description: plain/text


reply via email to

[Prev in Thread] Current Thread [Next in Thread]