target-ppc: gdbstub: introduce avr_need_swap()
commit87601e2d5c22d9c1fef0e09978d377f46336c1db
authorGreg Kurz <gkurz@linux.vnet.ibm.com>
Fri, 15 Jan 2016 15:00:31 +0000 (15 16:00 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 30 Jan 2016 12:37:37 +0000 (30 23:37 +1100)
tree81f41ff51c47dc7b6a518c314ca3f39601031dab
parent385abeb3e356452eace44f3fe15e18c2532dcaa7
target-ppc: gdbstub: introduce avr_need_swap()

This helper will be used to support Altivec registers in little-endian guests.
This patch does not change functionnality.

Note: I had to put the helper some lines away from the gdb_*_avr_reg()
routines to get a more readable patch.

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