summaryrefslogtreecommitdiff
path: root/games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp')
-rw-r--r--games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp37
1 files changed, 25 insertions, 12 deletions
diff --git a/games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp b/games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp
index 7d1fc2f20462..9a6941316d2b 100644
--- a/games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp
+++ b/games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp
@@ -1,29 +1,42 @@
--- components/crashcatcher/crashcatcher.cpp.orig 2025-07-01 11:41:15 UTC
+++ components/crashcatcher/crashcatcher.cpp
-@@ -95,6 +95,8 @@ namespace
- { ILL_PRVREG, "Privileged register" },
+@@ -83,6 +83,7 @@ namespace
+ { SIGFPE, "FPU exception", "SIGFPE" },
+ { SIGBUS, "System BUS error", "SIGBUS" },
+ { SIGABRT, "Abnormal termination condition", "SIGABRT" },
++ { 0, nullptr },
+ };
+
+ constexpr SignalInfo sigIllCodes[] = {
+@@ -96,6 +97,7 @@ namespace
{ ILL_COPROC, "Coprocessor error" },
{ ILL_BADSTK, "Internal stack error" },
-+#else
-+ { 0, nullptr },
#endif
++ { 0, nullptr },
+ };
+
+ constexpr SignalInfo sigFpeCodes[] = {
+@@ -107,6 +109,7 @@ namespace
+ { FPE_FLTRES, "Floating point inexact result" },
+ { FPE_FLTINV, "Floating point invalid operation" },
+ { FPE_FLTSUB, "Subscript out of range" },
++ { 0, nullptr },
};
-@@ -113,6 +115,8 @@ namespace
- #ifndef __FreeBSD__
+ constexpr SignalInfo sigSegvCodes[] = {
+@@ -114,6 +117,7 @@ namespace
{ SEGV_MAPERR, "Address not mapped to object" },
{ SEGV_ACCERR, "Invalid permissions for mapped object" },
-+#else
-+ { 0, nullptr },
#endif
++ { 0, nullptr },
};
-@@ -121,6 +125,8 @@ namespace
- { BUS_ADRALN, "Invalid address alignment" },
+ constexpr SignalInfo sigBusCodes[] = {
+@@ -122,6 +126,7 @@ namespace
{ BUS_ADRERR, "Non-existent physical address" },
{ BUS_OBJERR, "Object specific hardware error" },
-+#else
-+ { 0, nullptr },
#endif
++ { 0, nullptr },
};
+ const char* findSignalDescription(std::span<const SignalInfo> info, int code)