summaryrefslogtreecommitdiff
path: root/gcc/ada/s-osinte-darwin.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-16 12:41:38 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-16 12:41:38 +0000
commit0793eba56f0ea360620c1e8948899d00cb11a7b4 (patch)
tree630f3b21d444eb12ee9417639d119ed8165a6852 /gcc/ada/s-osinte-darwin.ads
parent5b091c437a402dae7df69410b5da71bb47c11fad (diff)
downloadgcc-0793eba56f0ea360620c1e8948899d00cb11a7b4.tar.gz
2009-04-16 Tristan Gingold <gingold@adacore.com>
* s-intman-susv3.adb: New file. * init.c, s-osinte-darwin.ads: Fix stack checking in tasking mode git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146179 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-osinte-darwin.ads')
-rw-r--r--gcc/ada/s-osinte-darwin.ads9
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ada/s-osinte-darwin.ads b/gcc/ada/s-osinte-darwin.ads
index c880c0087c3..27a7860522f 100644
--- a/gcc/ada/s-osinte-darwin.ads
+++ b/gcc/ada/s-osinte-darwin.ads
@@ -117,10 +117,15 @@ package System.OS_Interface is
type Signal_Set is array (Natural range <>) of Signal;
Unmasked : constant Signal_Set :=
- (SIGTTIN, SIGTTOU, SIGSTOP, SIGTSTP);
+ (SIGTTIN, SIGTTOU, SIGSTOP, SIGTSTP);
Reserved : constant Signal_Set :=
- (SIGKILL, SIGSTOP);
+ (SIGKILL, SIGSTOP);
+
+ Exception_Signals : constant Signal_Set :=
+ (SIGFPE, SIGILL, SIGSEGV, SIGBUS);
+ -- These signals (when runtime or system) will be caught and converted
+ -- into an Ada exception.
type sigset_t is private;