qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Fix PPC branch insn debugging
@ 2009-02-13 21:27 Blue Swirl
  0 siblings, 0 replies; only message in thread
From: Blue Swirl @ 2009-02-13 21:27 UTC (permalink / raw)
  To: qemu-devel@nongnu.org

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

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 #2: fix_ppc_branch_debug.diff --]
[-- Type: plain/text, Size: 580 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-02-13 21:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-13 21:27 [Qemu-devel] [PATCH] Fix PPC branch insn debugging Blue Swirl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).