From mboxrd@z Thu Jan 1 00:00:00 1970 From: mrs@wrs.com (Mike Stump) To: asharma@netscape.com, egcs@cygnus.com Subject: Re: EGCS vs MSVC - exception handling Date: Thu, 15 Jan 1998 16:13:00 -0000 Message-id: <199801160013.QAA03363@kankakee.wrs.com> X-SW-Source: 1998-01/msg00462.html > To: egcs@cygnus.com > From: Arun Sharma > Date: 12 Jan 1998 23:39:56 -0800 > Why would that be necessary ? Inside the signal handler, I know > precisely which instruction generated the trap by looking into the > sigcontext. Bingo, that's it. Unfortunately, one needs to look at the current PC and only when the top of the stack is hit (the original signal handler frame), then switch over to the sigcontext. gcc hasn't been taught about this yet. You can get it to work, by using -fsjlj-exceptions.