mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-17 23:12:17 +00:00
creport: Print Break information on UserBreak
This commit is contained in:
parent
326d58e28c
commit
de49cfefac
@ -272,6 +272,11 @@ void CrashReport::SaveToFile(FILE *f_report) {
|
||||
case DebugExceptionType::BadSvc:
|
||||
fprintf(f_report, " Svc Id: 0x%02x\n", this->exception_info.specific.bad_svc.id);
|
||||
break;
|
||||
case DebugExceptionType::UserBreak:
|
||||
fprintf(f_report, " Break Reason: 0x%lx\n", this->exception_info.specific.user_break.break_reason);
|
||||
fprintf(f_report, " Break Address: %s\n", this->code_list.GetFormattedAddressString(this->exception_info.specific.user_break.address));
|
||||
fprintf(f_report, " Break Size: 0x%lx\n", this->exception_info.specific.user_break.size);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -76,7 +76,7 @@ struct AlignmentFaultInfo {
|
||||
};
|
||||
|
||||
struct UserBreakInfo {
|
||||
u64 info_0;
|
||||
u64 break_reason;
|
||||
u64 address;
|
||||
u64 size;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user