aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/init.c
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2009-04-15 11:32:23 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2009-04-15 11:32:23 +0200
commitf7ca1d041c1766a16a016d959395370bea93d069 (patch)
treed8a346fa47ffce2855ae47458ed9f8678fe6c311 /gcc/ada/init.c
parent4bffd4e061048a522f8080b2ad54bc35a658c5e1 (diff)
downloadgcc-f7ca1d041c1766a16a016d959395370bea93d069.zip
gcc-f7ca1d041c1766a16a016d959395370bea93d069.tar.gz
gcc-f7ca1d041c1766a16a016d959395370bea93d069.tar.bz2
[multiple changes]
2009-04-15 Ed Schonberg <schonberg@adacore.com> * sem_ch8.adb (Use_One_Type): If both clauses appear on the same unit, the second is redundant, regardless of scopes. 2009-04-15 Vincent Celier <celier@adacore.com> * prj-nmsc.adb (Get_Directories): Check for sources before checking the object directory as when there are no sources, they may not be any object directory. * make.adb (Gnatmake): Do not attempt to get the path name of the exec directory, when there are no exec directory. 2009-04-15 Ed Schonberg <schonberg@adacore.com> * sem_type.adb (Remove_Conversions): In order to resolve spurious ambiguities, refine removal of universal interpretations from complex expressions with literal arguments, when some numeric operators have been declared abstract. 2009-04-15 Ed Falis <falis@adacore.com> * init.c: Map SIGSEGV to Storage_Error for all targets for uniformity and backward compatibility for targets using probing for stack overflow 2009-04-15 Ed Schonberg <schonberg@adacore.com> * sem_prag.adb (Analyze_Pragma, case 'Obsolescent): Pragma is legal after any declaration, including renaming declarations. From-SVN: r146091
Diffstat (limited to 'gcc/ada/init.c')
-rw-r--r--gcc/ada/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/init.c b/gcc/ada/init.c
index 7a4ff3a..8476dac 100644
--- a/gcc/ada/init.c
+++ b/gcc/ada/init.c
@@ -1816,7 +1816,7 @@ __gnat_map_signal (int sig)
break;
case SIGSEGV:
exception = &storage_error;
- msg = "SIGSEGV: possible stack overflow";
+ msg = "SIGSEGV";
break;
case SIGBUS:
exception = &storage_error;
@@ -1841,7 +1841,7 @@ __gnat_map_signal (int sig)
#else
/* VxWorks 6 kernel mode with probing. SIGBUS for guard page hit */
case SIGSEGV:
- exception = &program_error;
+ exception = &storage_error;
msg = "SIGSEGV";
break;
case SIGBUS:
@@ -1857,7 +1857,7 @@ __gnat_map_signal (int sig)
msg = "SIGILL: possible stack overflow";
break;
case SIGSEGV:
- exception = &program_error;
+ exception = &storage_error;
msg = "SIGSEGV";
break;
case SIGBUS: