Commit 1ca35881 by Arnaud Charlet

Complete previous change.

From-SVN: r145921
parent 2c880bdf
...@@ -1822,8 +1822,7 @@ __gnat_map_signal (int sig) ...@@ -1822,8 +1822,7 @@ __gnat_map_signal (int sig)
exception = &storage_error; exception = &storage_error;
msg = "SIGBUS: possible stack overflow"; msg = "SIGBUS: possible stack overflow";
break; break;
#else #elif (_WRS_VXWORKS_MAJOR == 6)
#if (_WRS_VXWORKS_MAJOR = 6)
case SIGILL: case SIGILL:
exception = &constraint_error; exception = &constraint_error;
msg = "SIGILL"; msg = "SIGILL";
...@@ -1835,6 +1834,10 @@ __gnat_map_signal (int sig) ...@@ -1835,6 +1834,10 @@ __gnat_map_signal (int sig)
exception = &storage_error; exception = &storage_error;
msg = "SIGSEGV: possible stack overflow"; msg = "SIGSEGV: possible stack overflow";
break; break;
case SIGBUS:
exception = &program_error;
msg = "SIGBUS";
break;
#else #else
/* VxWorks 6 kernel mode with probing. SIGBUS for guard page hit */ /* VxWorks 6 kernel mode with probing. SIGBUS for guard page hit */
case SIGSEGV: case SIGSEGV:
...@@ -1857,7 +1860,6 @@ __gnat_map_signal (int sig) ...@@ -1857,7 +1860,6 @@ __gnat_map_signal (int sig)
exception = &program_error; exception = &program_error;
msg = "SIGSEGV"; msg = "SIGSEGV";
break; break;
#endif
case SIGBUS: case SIGBUS:
exception = &program_error; exception = &program_error;
msg = "SIGBUS"; msg = "SIGBUS";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment