OSDN Git Service

* gcc-interface/misc.c (gnat_expand_expr): Remove.
[pf3gnuchains/gcc-fork.git] / gcc / ada / a-intnam-mingw.ads
1 ------------------------------------------------------------------------------
2 --                                                                          --
3 --                 GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS                 --
4 --                                                                          --
5 --                   A D A . I N T E R R U P T S . N A M E S                --
6 --                                                                          --
7 --                                  S p e c                                 --
8 --                                                                          --
9 --          Copyright (C) 1997-2009, Free Software Foundation, Inc.         --
10 --                                                                          --
11 -- GNARL is free software; you can  redistribute it  and/or modify it under --
12 -- terms of the  GNU General Public License as published  by the Free Soft- --
13 -- ware  Foundation;  either version 3,  or (at your option) any later ver- --
14 -- sion.  GNAT is distributed in the hope that it will be useful, but WITH- --
15 -- OUT ANY WARRANTY;  without even the  implied warranty of MERCHANTABILITY --
16 -- or FITNESS FOR A PARTICULAR PURPOSE.                                     --
17 --                                                                          --
18 -- As a special exception under Section 7 of GPL version 3, you are granted --
19 -- additional permissions described in the GCC Runtime Library Exception,   --
20 -- version 3.1, as published by the Free Software Foundation.               --
21 --                                                                          --
22 -- You should have received a copy of the GNU General Public License and    --
23 -- a copy of the GCC Runtime Library Exception along with this program;     --
24 -- see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see    --
25 -- <http://www.gnu.org/licenses/>.                                          --
26 --                                                                          --
27 -- GNARL was developed by the GNARL team at Florida State University.       --
28 -- Extensive contributions were provided by Ada Core Technologies, Inc.     --
29 --                                                                          --
30 ------------------------------------------------------------------------------
31
32 --  This is a NT (native) version of this package
33
34 --  This target-dependent package spec contains names of interrupts supported
35 --  by the local system.
36
37 with System.OS_Interface;
38
39 package Ada.Interrupts.Names is
40
41    --  Beware that the mapping of names to signals may be many-to-one. There
42    --  may be aliases. Also, for all signal names that are not supported on the
43    --  current system the value of the corresponding constant will be zero.
44
45    SIGINT  : constant Interrupt_ID :=  -- interrupt (rubout)
46                System.OS_Interface.SIGINT;
47
48    SIGILL  : constant Interrupt_ID :=  -- illegal instruction (not reset)
49                System.OS_Interface.SIGILL;
50
51    SIGABRT : constant Interrupt_ID :=  -- used by abort (use SIGIOT in future)
52                System.OS_Interface.SIGABRT;
53
54    SIGFPE  : constant Interrupt_ID :=  -- floating point exception
55                System.OS_Interface.SIGFPE;
56
57    SIGSEGV : constant Interrupt_ID :=  -- segmentation violation
58                System.OS_Interface.SIGSEGV;
59
60    SIGTERM : constant Interrupt_ID :=  -- software termination signal from kill
61                System.OS_Interface.SIGTERM;
62
63 end Ada.Interrupts.Names;