target-ppc: gdbstub: fix float registers for little-endian guests
commit385abeb3e356452eace44f3fe15e18c2532dcaa7
authorGreg Kurz <gkurz@linux.vnet.ibm.com>
Fri, 15 Jan 2016 15:00:25 +0000 (15 16:00 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 30 Jan 2016 12:37:37 +0000 (30 23:37 +1100)
tree0a8412ba1f7aad9d0bbc5be7cfa3b303a31291e2
parent376dbce0e3abe456fb8c7a3cd40dc369f8b33d30
target-ppc: gdbstub: fix float registers for little-endian guests

Let's reuse the ppc_maybe_bswap_register() helper, like we already do
with the general registers.

Signed-off-by: Greg Kurz <gkurz@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/translate_init.c