summaryrefslogtreecommitdiff
path: root/gcc/ada/a-elchha.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-05 10:24:05 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2003-12-05 10:24:05 +0000
commitcc5c9949892dee7758258051c644c3fb13a177b0 (patch)
tree5224f98552233f79c9df85272ca71ff1d098452a /gcc/ada/a-elchha.ads
parentd3c486373e40434140490031575cb895e7b1cc2a (diff)
downloadgcc-cc5c9949892dee7758258051c644c3fb13a177b0.tar.gz
2003-12-05 Thomas Quinot <quinot@act-europe.fr>
* 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare, version of this unit). 2003-12-05 Olivier Hainque <hainque@act-europe.fr> * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads, 5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads, 5tosinte.ads: Define the SA_SIGINFO constant, to allow references from the body of System.Interrupt_Management common to several targets. Update copyright notice when appropriate. * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO constant. * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags, to ensure that the kernel fills in the interrupted context structure before calling a signal handler, which is necessary to be able to unwind past it. Update the copyright notice. 2003-12-05 Jerome Guitton <guitton@act-europe.fr> * a-elchha.ads: New file. * a-elchha.adb: New default last chance handler. Contents taken from Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate. * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine is moved to a-elchha.adb to provide a target-independent default last chance handler. * Makefile.rtl: Add a-elchha.o * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o. 2003-12-05 Ed Schonberg <schonberg@gnat.com> * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is declared in an instance, do not inline the call if the instance is not frozen yet, to prevent order of elaboration problems. * sem_prag.adb: Add comments for previous fix. 2003-12-05 Samuel Tardieu <tardieu@act-europe.fr> * g-table.adb: Use the right variable in Set_Item. Update copyright notice. 2003-12-05 Arnaud Charlet <charlet@act-europe.fr> * Makefile.in: Remove unused rules. 2003-12-05 Vincent Celier <celier@gnat.com> * switch-c.adb (Scan_Front_End_Switches): Remove processing of -nostdlib. Not needed here after all. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74319 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/a-elchha.ads')
-rw-r--r--gcc/ada/a-elchha.ads46
1 files changed, 46 insertions, 0 deletions
diff --git a/gcc/ada/a-elchha.ads b/gcc/ada/a-elchha.ads
new file mode 100644
index 00000000000..7efbe0f5558
--- /dev/null
+++ b/gcc/ada/a-elchha.ads
@@ -0,0 +1,46 @@
+------------------------------------------------------------------------------
+-- --
+-- GNAT RUN-TIME COMPONENTS --
+-- --
+-- A D A . E X C E P T I O N S . L A S T _ C H A N C E _ H A N D L E R --
+-- --
+-- S p e c --
+-- --
+-- Copyright (C) 2003 Free Software Foundation, Inc. --
+-- --
+-- This specification is derived from the Ada Reference Manual for use with --
+-- GNAT. The copyright notice above, and the license provisions that follow --
+-- apply solely to the contents of the part following the private keyword. --
+-- --
+-- GNAT is free software; you can redistribute it and/or modify it under --
+-- terms of the GNU General Public License as published by the Free Soft- --
+-- ware Foundation; either version 2, or (at your option) any later ver- --
+-- sion. GNAT is distributed in the hope that it will be useful, but WITH- --
+-- OUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY --
+-- or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License --
+-- for more details. You should have received a copy of the GNU General --
+-- Public License distributed with GNAT; see file COPYING. If not, write --
+-- to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, --
+-- MA 02111-1307, USA. --
+-- --
+-- As a special exception, if other files instantiate generics from this --
+-- unit, or you link this unit with other files to produce an executable, --
+-- this unit does not by itself cause the resulting executable to be --
+-- covered by the GNU General Public License. This exception does not --
+-- however invalidate any other reasons why the executable file might be --
+-- covered by the GNU Public License. --
+-- --
+-- GNAT was originally developed by the GNAT team at New York University. --
+-- Extensive contributions were provided by Ada Core Technologies Inc. --
+-- --
+------------------------------------------------------------------------------
+
+-- Last chance handler. Unhandled exceptions are passed to this
+-- routine.
+
+procedure Ada.Exceptions.Last_Chance_Handler
+ (Except : Exception_Occurrence);
+pragma Export (C,
+ Last_Chance_Handler,
+ "__gnat_last_chance_handler");
+pragma No_Return (Last_Chance_Handler);