]> git.proxmox.com Git - qemu.git/commit
gdbstub/sh4: fix build with USE_SOFTFLOAT_STRUCT_TYPES
authorAurelien Jarno <aurelien@aurel32.net>
Sun, 16 Sep 2012 11:12:21 +0000 (13:12 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 9 Oct 2012 06:42:09 +0000 (01:42 -0500)
commit15658ad01b413b62b70b7590a0c81197848a30c2
treed46c5ccf0763a99fc99cfa0145e236dc80a3433e
parent1d465a94add76ea3854f9cdf803ce6124e9e0e9d
gdbstub/sh4: fix build with USE_SOFTFLOAT_STRUCT_TYPES

We have to use different type to access float values when
USE_SOFTFLOAT_STRUCT_TYPES is defined.

Rework SH4 version of cpu_gdb_{read,write}_register() using
a single case, and fixing the coding style. Use ldll_p() and
stfl_p() to access float values.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
gdbstub.c