Creport: Difference between revisions

No edit summary
No edit summary
Line 26: Line 26:
All other events (<code>USER_BREAK</code>, etc) don't store any extra data except type and address.
All other events (<code>USER_BREAK</code>, etc) don't store any extra data except type and address.


After it has fetched all events.
After it has fetched all events, if it didn't encounter <code>USER_BREAK</code> it constructs an error report:
 
If it didn't encounter <code>USER_BREAK</code> it constructs an error report:
* Field10: (String) Error-code string formatted with [[Error codes|"%04d-%04d"]].
* Field10: (String) Error-code string formatted with [[Error codes|"%04d-%04d"]].
* Field115: (String) Title-id snprintf'ed as "%08llx".
* Field115: (String) Title-id snprintf'ed as "%08llx".
Line 59: Line 57:
* 3 -> 0x6A8,  
* 3 -> 0x6A8,  
* 6 -> No fatal-err
* 6 -> No fatal-err
* 8 -> 0x10A8, this also stores the syscall-id as an u64, and the entire thread state in the event buffer.
* 8 -> 0x10A8
* Default: 0x4A2
* Default: 0x4A2