diff options
Diffstat (limited to 'sim/or1k/traps.c')
-rw-r--r-- | sim/or1k/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/or1k/traps.c b/sim/or1k/traps.c index 7f5a38f..bb428fa 100644 --- a/sim/or1k/traps.c +++ b/sim/or1k/traps.c @@ -104,7 +104,7 @@ or1k32bf_fpu_error (CGEN_FPU* fpu, int status) per-instruction callbacks are not triggered which would allow us to track the PC. This means we cannot track which instruction caused the FPU error. */ - if (STATE_RUN_FAST_P (sd) == 1) + if (!PROFILE_ANY_P (current_cpu) && !TRACE_ANY_P (current_cpu)) sim_io_eprintf (sd, "WARNING: ignoring fpu error caught in fast mode.\n"); else |