Re: [Qemu-devel] [PATCH v2 12/15] target-ppc: Refactor debug output macros

2013-02-25 Thread Alexander Graf
On 25.02.2013, at 14:14, Andreas Färber wrote: > Am 25.02.2013 13:54, schrieb Alexander Graf: >> >> On 21.02.2013, at 05:25, Andreas Färber wrote: >> >>> Make debug output compile-testable even if disabled. >>> >>> Rename dprintf() in kvm.c to kvm_dprintf() to avoid conflict with glibc. >>> >

Re: [Qemu-devel] [PATCH v2 12/15] target-ppc: Refactor debug output macros

2013-02-25 Thread Andreas Färber
Am 25.02.2013 13:54, schrieb Alexander Graf: > > On 21.02.2013, at 05:25, Andreas Färber wrote: > >> Make debug output compile-testable even if disabled. >> >> Rename dprintf() in kvm.c to kvm_dprintf() to avoid conflict with glibc. >> >> Inline DEBUG_OP check in excp_helper.c. >> Inline LOG_MMU_

Re: [Qemu-devel] [PATCH v2 12/15] target-ppc: Refactor debug output macros

2013-02-25 Thread Alexander Graf
On 21.02.2013, at 05:25, Andreas Färber wrote: > Make debug output compile-testable even if disabled. > > Rename dprintf() in kvm.c to kvm_dprintf() to avoid conflict with glibc. > > Inline DEBUG_OP check in excp_helper.c. > Inline LOG_MMU_STATE() in mmu_helper.c. > Inline PPC_{DEBUG_SPR,DUMP_S

[Qemu-devel] [PATCH v2 12/15] target-ppc: Refactor debug output macros

2013-02-20 Thread Andreas Färber
Make debug output compile-testable even if disabled. Rename dprintf() in kvm.c to kvm_dprintf() to avoid conflict with glibc. Inline DEBUG_OP check in excp_helper.c. Inline LOG_MMU_STATE() in mmu_helper.c. Inline PPC_{DEBUG_SPR,DUMP_SPR_ACCESSES} checks in translate_init.c. Signed-off-by: Andrea