target-ppc: Fix invalid SPR read/write warnings
commitc05541ee191107eb35093fb693e4ec038e60d2c0
authorAnton Blanchard <anton@samba.org>
Wed, 1 May 2013 00:43:59 +0000 (1 00:43 +0000)
committerAlexander Graf <agraf@suse.de>
Mon, 6 May 2013 15:22:48 +0000 (6 17:22 +0200)
tree86463662cd58044b3f83936a748abd9fb47a5acb
parent126a79300971ab9314925c3ebbbd6c776bebf3f1
target-ppc: Fix invalid SPR read/write warnings

Invalid and privileged SPR warnings currently print the wrong
address. While fixing that, also make it clear that we are
printing both the decimal and hexadecimal SPR number.

Before:

  Trying to read invalid spr 896 380 at 0000000000000714

After:

  Trying to read invalid spr 896 (0x380) at 0000000000000710

Signed-off-by: Anton Blanchard <anton@au1.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/translate.c