1 /* |
1 /* |
2 * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
676 { SIGSEGV, SEGV_KEYERR, "SEGV_KEYERR", "key error" }, |
676 { SIGSEGV, SEGV_KEYERR, "SEGV_KEYERR", "key error" }, |
677 #endif |
677 #endif |
678 #if defined(IA64) && !defined(AIX) |
678 #if defined(IA64) && !defined(AIX) |
679 { SIGSEGV, SEGV_PSTKOVF, "SEGV_PSTKOVF", "Paragraph stack overflow" }, |
679 { SIGSEGV, SEGV_PSTKOVF, "SEGV_PSTKOVF", "Paragraph stack overflow" }, |
680 #endif |
680 #endif |
|
681 #if defined(__sparc) && defined(SOLARIS) |
|
682 // define Solaris Sparc M7 ADI SEGV signals |
|
683 #if !defined(SEGV_ACCADI) |
|
684 #define SEGV_ACCADI 3 |
|
685 #endif |
|
686 { SIGSEGV, SEGV_ACCADI, "SEGV_ACCADI", "ADI not enabled for mapped object." }, |
|
687 #if !defined(SEGV_ACCDERR) |
|
688 #define SEGV_ACCDERR 4 |
|
689 #endif |
|
690 { SIGSEGV, SEGV_ACCDERR, "SEGV_ACCDERR", "ADI disrupting exception." }, |
|
691 #if !defined(SEGV_ACCPERR) |
|
692 #define SEGV_ACCPERR 5 |
|
693 #endif |
|
694 { SIGSEGV, SEGV_ACCPERR, "SEGV_ACCPERR", "ADI precise exception." }, |
|
695 #endif // defined(__sparc) && defined(SOLARIS) |
681 { SIGBUS, BUS_ADRALN, "BUS_ADRALN", "Invalid address alignment." }, |
696 { SIGBUS, BUS_ADRALN, "BUS_ADRALN", "Invalid address alignment." }, |
682 { SIGBUS, BUS_ADRERR, "BUS_ADRERR", "Nonexistent physical address." }, |
697 { SIGBUS, BUS_ADRERR, "BUS_ADRERR", "Nonexistent physical address." }, |
683 { SIGBUS, BUS_OBJERR, "BUS_OBJERR", "Object-specific hardware error." }, |
698 { SIGBUS, BUS_OBJERR, "BUS_OBJERR", "Object-specific hardware error." }, |
684 { SIGTRAP, TRAP_BRKPT, "TRAP_BRKPT", "Process breakpoint." }, |
699 { SIGTRAP, TRAP_BRKPT, "TRAP_BRKPT", "Process breakpoint." }, |
685 { SIGTRAP, TRAP_TRACE, "TRAP_TRACE", "Process trace trap." }, |
700 { SIGTRAP, TRAP_TRACE, "TRAP_TRACE", "Process trace trap." }, |