X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=rts%2FRtsMessages.c;h=6e75abc8a5b24ff95c3e43b40d72e8a52b1741a4;hb=7d9eb2e45b4a9ff4cb053b1ec37602be88528b62;hp=e2a30a613ffeada64cb11aa8e61c803190b196b5;hpb=831e2ed684863c5e0203c9b32f8ceaca42493e95;p=ghc-hetmet.git diff --git a/rts/RtsMessages.c b/rts/RtsMessages.c index e2a30a6..6e75abc 100644 --- a/rts/RtsMessages.c +++ b/rts/RtsMessages.c @@ -9,6 +9,8 @@ #include "PosixSource.h" #include "Rts.h" +#include "eventlog/EventLog.h" + #include #include #include @@ -161,6 +163,10 @@ rtsFatalInternalErrorFn(const char *s, va_list ap) fflush(stderr); } +#ifdef TRACING + if (RtsFlags.TraceFlags.tracing == TRACE_EVENTLOG) endEventLogging(); +#endif + abort(); // stg_exit(EXIT_INTERNAL_ERROR); }