commit | 4ec5d5699de7a67dac59a59077ee8d0a777df586 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Thu Oct 04 19:26:43 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Thu Oct 04 19:26:43 2001 +0000 |
tree | cd26b96a9ff7c86373300f29f9098e98f6c2fffd | |
parent | d1de6eacf22caf95aba6d76058267c8f5b6543b8 [diff] |
Fix bug in profiler modifications detected only in debug builds. The new profiler event stream includes a "return" event even when an exception is being propogated, but the machinery that called the profile hook did not save & restore the exception. In debug mode, the exception was detected during the execution of the profile callback, which did not have the proper internal flags set for the exception. Saving & restoring the exception state solves the problem.