1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-23 10:52:13 +00:00

creport: Add dying message to output report, if relevant.

This commit is contained in:
Michael Scire 2018-06-26 00:51:53 -06:00
parent 4eadeb021b
commit 6fd82b7947

View file

@ -280,6 +280,12 @@ void CrashReport::SaveToFile(FILE *f_report) {
this->crashed_thread_info.SaveToFile(f_report);
if (kernelAbove500()) {
if (this->dying_message_size) {
fprintf(f_report, "Dying Message Info:\n");
fprintf(f_report, " Address: 0x%016lx\n", this->dying_message_address);
fprintf(f_report, " Size: 0x%016lx\n", this->dying_message_size);
CrashReport::Memdump(f_report, " Dying Message: ", this->dying_message, this->dying_message_size);
}
fprintf(f_report, "Code Region Info:\n");
this->code_list.SaveToFile(f_report);
fprintf(f_report, "\nThread Report:\n");