------- Comment #6 from jason at gcc dot gnu dot org 2006-07-31 09:38 ------- Created an attachment (id=11978) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11978&action=view) libstdc++ patch to allow catching forced unwind separately
Trying to move this issue forward: here's a libsupc++ patch that allows users to detect forced unwind using a magic class. This is a little ugly, as there isn't actually an object for the catch parameter to bind to. It should also be discussed with the C++ ABI committee; I notice that the ABI EH document still says that you can't catch forced unwind (like Ada). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28145