This is the mail archive of the
mailing list for the GCC project.
Re: Unix Signals as OS Exceptions in C++
- From: Luca Saiu <positron at gnu dot org>
- To: Ian Lance Taylor <ian at wasabisystems dot com>
- Cc: "Steven T. Hatton" <hattons at globalsymmetry dot com>, gcc at gcc dot gnu dot org
- Date: Sun, 12 Sep 2004 16:59:26 +0200
- Subject: Re: Unix Signals as OS Exceptions in C++
- Organization: GNU Project
- References: <firstname.lastname@example.org> <email@example.com>
[not completely related]
Ian Lance Taylor wrote:
It already works fine; just call throw from your signal handler. This
programs works as expected on i386 GNU/Linux if you type ^C during the
On my machines the exception is regularly thrown in the signal
handler, but it can't be caught by catch, not even by catch(...); the
program aborts. This happens on all my machines (GNU/Linux PowerPC and
x86), with all the GCC versions I have installed (from 2.95 to 3.4.2).
No twiddling helped, as far as I tried.
This seems a bug. Should I file a PR? Is it only me to see that?
Luca Saiu, maintainer of GNU epsilon