]> git.proxmox.com Git - qemu.git/commit - gdbstub.c
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)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 21 Sep 2012 17:53:17 +0000 (19:53 +0200)
commiteca5c303339016c8640567f2e5a31ef1d6487df9
treee658fec5b7216b4f1f6b89b3894d91c272442911
parent5d8f53630011f93dc774f1b2dc9557c7eac3ad89
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>
gdbstub.c