throwTo: report the why_blocked value in the barf()
authorSimon Marlow <marlowsd@gmail.com>
Fri, 3 Dec 2010 09:48:40 +0000 (09:48 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Fri, 3 Dec 2010 09:48:40 +0000 (09:48 +0000)
rts/RaiseAsync.c

index 3cfb450..7abccde 100644 (file)
@@ -449,7 +449,7 @@ check_target:
         goto retry;
 
     default:
-       barf("throwTo: unrecognised why_blocked value");
+        barf("throwTo: unrecognised why_blocked (%d)", target->why_blocked);
     }
     barf("throwTo");
 }