This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Throwing C++ exceptions in signal handlers
- From: Andrew Haley <aph at cambridge dot redhat dot com>
- To: Geert Bosch <bosch at gnat dot com>
- Cc: Anthony Green <green at redhat dot com>,Nathan Sidwell <nathan at codesourcery dot com>,Roger Sayle <roger at eyesopen dot com>, gcc <gcc at gcc dot gnu dot org>
- Date: Tue, 3 Sep 2002 16:38:12 +0100 (BST)
- Subject: Re: Throwing C++ exceptions in signal handlers
- References: <1031023179.2296.11.camel@dhcppc2><Pine.GSO.4.10.10209031032570.29351-100000@nile.gnat.com>
Geert Bosch writes:
>
>
>
> On 2 Sep 2002, Anthony Green wrote:
> The java runtime library throws exceptions in signal handlers for some
> targets. See gcc/libjava/include/dwarf2-signal.h, i386-signal.h, etc.
>
> Ada does too. It is close to impossible to implement the full language
> effiently without this capability.
Interesting. Can you point me to the code in Ada's run-time library
that handles the signals and converts them into exceptions?
Thanks,
Andrew.