diff options
author | Simon Marlow <marlowsd@gmail.com> | 2011-11-14 15:13:33 +0000 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2011-11-14 15:14:09 +0000 |
commit | e37893cbe8c289dc56cecf6dff5c8b64ed8c3485 (patch) | |
tree | ee691b3bb6a667e865321f779fa48cc92dc504ba /rts/Exception.cmm | |
parent | 66962374847686e84692ce319a1427e96ac8440c (diff) | |
download | haskell-e37893cbe8c289dc56cecf6dff5c8b64ed8c3485.tar.gz |
+RTS -xc: print a the closure type of the exception too
Diffstat (limited to 'rts/Exception.cmm')
-rw-r--r-- | rts/Exception.cmm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rts/Exception.cmm b/rts/Exception.cmm index 9f48f5d8f5..586086ebf3 100644 --- a/rts/Exception.cmm +++ b/rts/Exception.cmm @@ -427,7 +427,9 @@ stg_raisezh */ if (RtsFlags_ProfFlags_showCCSOnException(RtsFlags) != 0::I32) { SAVE_THREAD_STATE(); - foreign "C" fprintCCS_stderr(W_[CCCS] "ptr", CurrentTSO "ptr") []; + foreign "C" fprintCCS_stderr(W_[CCCS] "ptr", + exception "ptr", + CurrentTSO "ptr") []; LOAD_THREAD_STATE(); } #endif |