target-ppc: Fix invalid SPR read/write warnings
commit3033d2bda2f82575b09d9cb32c4d1970f8865bc0
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:17:00 +0000 (6 17:17 +0200)
tree86463662cd58044b3f83936a748abd9fb47a5acb
parent98538d9eab04c57540a95df7918851cf8c2f360f
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