Merge pull request #3710 from cesanta/crash-report

Report the crash log to mdash
This commit is contained in:
Sergey Lyubka authored and GitHub committed 2026-09-30 15:11:13 +01:00
commit bba5a0ca3a
6 files changed
+55 -31

No files matched your search

+2
View File
@@ -4968,7 +4968,9 @@ enum mg_health_reason {
MG_HEALTH_RESET_FAULT // Fault handler ran, see regs[] and saved_stack
};
#ifndef MG_HEALTH_BACKTRACE
#define MG_HEALTH_BACKTRACE 20 // Return addresses in mg_health::backtrace
#endif
struct mg_health {
char magic[4]; // MG_HEALTH_MAGIC when the record holds valid data