[FREELDR] Print arch + buildnumber on crash-screen (#7382)

This commit tries to improve the quality of the screenshots that we do get posted in JIRA,
where we couldn't even see up to now which build and arch was run.
This is in the wider context of CORE6762
(I intentionally left out the minus in the CORE-ID to prevent auto-linkage to that ticket)
This commit is contained in:
Joachim Henze 2024-09-26 00:49:29 +02:00 committed by GitHub
parent 064d6d3427
commit 4f4be5c498
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,7 @@
#include <freeldr.h>
#include <reactos/buildno.h>
#include <debug.h>
typedef struct _FRAME
@ -115,7 +116,7 @@ i386PrintExceptionText(ULONG TrapIndex, PKTRAP_FRAME TrapFrame, PKSPECIAL_REGIST
i386_ScreenPosX = 0;
i386_ScreenPosY = 0;
PrintText("An error occured in " VERSION "\n"
PrintText("FreeLdr " KERNEL_VERSION_STR " " KERNEL_VERSION_BUILD_STR "\n"
"Report this error on the ReactOS Bug Tracker: https://jira.reactos.org\n\n"
"0x%02lx: %s\n\n", TrapIndex, i386ExceptionDescriptionText[TrapIndex]);