mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-05 19:51:45 +00:00
creport: Add dying message to output report, if relevant.
This commit is contained in:
parent
4eadeb021b
commit
6fd82b7947
1 changed files with 6 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue