Changes

182 bytes added ,  03:43, 12 July 2017
Some data on what the additional data is.
Line 25: Line 25:  
* <code>? (9)</code>: Always (u64) 0.
 
* <code>? (9)</code>: Always (u64) 0.
   −
For all exceptions, it then adds more data from svcGetDebugThreadParam/svcGetDebugThreadContext. This reads the flag from <code>ATTACH_PROCESS</code> to determine whether to read 0x10 bytes using svcReadDebugProcessMemory.
+
For all exceptions, it then adds more data from svcGetDebugThreadParam/svcGetDebugThreadContext. "Usually" (when is this not the case?), this data includes a size u64 for the register dump region + the values of all general purpose registers+SP and PC, as well as 0x80 of stack. This reads the flag from <code>ATTACH_PROCESS</code> to determine whether to read 0x10 bytes using svcReadDebugProcessMemory.
    
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.