summaryrefslogtreecommitdiff
path: root/gdbstub.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2011-05-15 14:09:18 +0200
committerAurelien Jarno <aurelien@aurel32.net>2011-06-03 16:07:49 +0200
commit142ab5bb872337054581d8067906a6541704a5e0 (patch)
tree670d57b857144991304eb741d96fc7735eb20e6a /gdbstub.c
parent2c0d18ddd9b05b3ab042243b678d8dd281c210ba (diff)
target-mips/gdbstub: remove old CONFIG_SOFTFLOAT #ifndef
target-mips has been switched to softfloat only long ago, but a #ifndef CONFIG_SOFTFLOAT has been forgotten. Remove it. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'gdbstub.c')
-rw-r--r--gdbstub.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdbstub.c b/gdbstub.c
index ae856f91d4..b9ae30dd7d 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -1105,10 +1105,6 @@ static int cpu_gdb_write_register(CPUState *env, uint8_t *mem_buf, int n)
env->active_fpu.fcr31 = tmp & 0xFF83FFFF;
/* set rounding mode */
RESTORE_ROUNDING_MODE;
-#ifndef CONFIG_SOFTFLOAT
- /* no floating point exception for native float */
- SET_FP_ENABLE(env->active_fpu.fcr31, 0);
-#endif
break;
case 71: env->active_fpu.fcr0 = tmp; break;
}