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.cpp42
1 files changed, 42 insertions, 0 deletions
diff --git a/games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp b/games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp
new file mode 100644
index 000000000000..9a6941316d2b
--- /dev/null
+++ b/games/openmw/files/patch-components_crashcatcher_crashcatcher.cpp
@@ -0,0 +1,42 @@
+--- components/crashcatcher/crashcatcher.cpp.orig 2025-07-01 11:41:15 UTC
++++ components/crashcatcher/crashcatcher.cpp
+@@ -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" },
+ #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 },
+ };
+
+ constexpr SignalInfo sigSegvCodes[] = {
+@@ -114,6 +117,7 @@ namespace
+ { SEGV_MAPERR, "Address not mapped to object" },
+ { SEGV_ACCERR, "Invalid permissions for mapped object" },
+ #endif
++ { 0, nullptr },
+ };
+
+ constexpr SignalInfo sigBusCodes[] = {
+@@ -122,6 +126,7 @@ namespace
+ { BUS_ADRERR, "Non-existent physical address" },
+ { BUS_OBJERR, "Object specific hardware error" },
+ #endif
++ { 0, nullptr },
+ };
+
+ const char* findSignalDescription(std::span<const SignalInfo> info, int code)