[project @ 2006-01-03 12:56:10 by simonmar]
authorsimonmar <unknown>
Tue, 3 Jan 2006 12:56:10 +0000 (12:56 +0000)
committersimonmar <unknown>
Tue, 3 Jan 2006 12:56:10 +0000 (12:56 +0000)
commitce9d03fa27ce85072d8ac1426d5420a5c0c215ee
tree5a2391b4dadaf5b96a8239970e8386f8f3b3eb42
parentc1fa1f507a3cad662618941102ebc6fb87df4dbd
[project @ 2006-01-03 12:56:10 by simonmar]
two fixes for the case when a (synchronous) exception is propagated to
the top of a thread's stack, i.e. it is unhandled.

  1. store the exception in the right place (we were using the
     OFFSET_StgTSO_stack macro and not accounting for the TSO's
     header size)

  2. put an stg_enter_info on the stack so that the GC can understand
     this thread's stack.
ghc/rts/Exception.cmm