mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
Fix debug printf: we need different macros for target_ulong prints
and GPR ones, as the lengths can be different. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2529 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e397ee3382
commit
1b9eb036b9
4 changed files with 65 additions and 55 deletions
|
@ -378,7 +378,7 @@ static inline void spr_register (CPUPPCState *env, int num,
|
|||
exit(1);
|
||||
}
|
||||
#if defined(PPC_DEBUG_SPR)
|
||||
printf("*** register spr %d (%03x) %s val " REGX "\n", num, num, name,
|
||||
printf("*** register spr %d (%03x) %s val " ADDRX "\n", num, num, name,
|
||||
initial_value);
|
||||
#endif
|
||||
spr->name = name;
|
||||
|
@ -2424,7 +2424,7 @@ static int create_ppc_opcodes (CPUPPCState *env, ppc_def_t *def)
|
|||
|
||||
fill_new_table(env->opcodes, 0x40);
|
||||
#if defined(PPC_DUMP_CPU)
|
||||
printf("* PowerPC instructions for PVR %08x: %s flags %016 " PRIx64
|
||||
printf("* PowerPC instructions for PVR %08x: %s flags %016" PRIx64
|
||||
" %08x\n",
|
||||
def->pvr, def->name, def->insns_flags, def->flags);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue