target/ppc/debug: Print LPCR register value if register exists
authorSuraj Jitindar Singh <sjitindarsingh@gmail.com>
Fri, 13 Jan 2017 06:28:20 +0000 (17:28 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 1 Feb 2017 22:30:06 +0000 (09:30 +1100)
commitd801a61e9803593cf95ed3aeeb175c32c8acea95
tree509acfd98be77d7d99b2dba7ddb99077c2d8cd2b
parent78241762c483c9bb7a4834a6d1e6db512bb6a744
target/ppc/debug: Print LPCR register value if register exists

It can be useful when debugging to print the LPCR value.

Thus we add the LPCR to the "info registers" output if the register had
been defined.

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/translate.c