public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: EGCS vs MSVC - exception handling
@ 1998-01-15 16:13 Mike Stump
  0 siblings, 0 replies; 7+ messages in thread
From: Mike Stump @ 1998-01-15 16:13 UTC (permalink / raw)
  To: asharma, egcs

> To: egcs@cygnus.com
> From: Arun Sharma <asharma@netscape.com>
> 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.

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <34bbf4a0.7558458@nntp.demos.su>]

end of thread, other threads:[~1998-01-15 16:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-15 16:13 EGCS vs MSVC - exception handling Mike Stump
     [not found] <34bbf4a0.7558458@nntp.demos.su>
     [not found] ` <u1zyekkhq.fsf@finobj.com>
     [not found]   ` <34bf0215.11003532@nntp.demos.su>
     [not found]     ` <uzpl1kbmy.fsf@finobj.com>
1998-01-12 10:18       ` Arun Sharma
1998-01-12 17:07         ` Jeffrey A Law
1998-01-13  4:31           ` Arun Sharma
1998-01-14  2:14             ` Andreas Schwab
1998-01-14  4:17             ` Jeffrey A Law
1998-01-15 16:30             ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).