creport: Parse info for crashed thread

This commit is contained in:
Michael Scire committed 2018-06-25 03:04:17 -06:00
1 parent 7cd44e8980
commit e6b7793916
5 files changed
+104 -1

No files matched your search

@@ -3,6 +3,7 @@
#include <switch.h>
#include "creport_debug_types.hpp"
#include "creport_thread_info.hpp"
enum class CrashReportResult : Result {
UndefinedInstruction = 0x00A8,
@@ -31,6 +32,7 @@ class CrashReport {
/* Exception Info. */
ExceptionInfo exception_info;
ThreadInfo crashed_thread_info;
public:
CrashReport() : debug_handle(INVALID_HANDLE), result((Result)CrashReportResult::IncompleteReport), process_info({}), exception_info({}) { }