diff options
Diffstat (limited to 'src/debug/createdump/crashinfo.h')
-rw-r--r-- | src/debug/createdump/crashinfo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/debug/createdump/crashinfo.h b/src/debug/createdump/crashinfo.h index 096f933af0..f7ebae9f26 100644 --- a/src/debug/createdump/crashinfo.h +++ b/src/debug/createdump/crashinfo.h @@ -46,8 +46,9 @@ private: public: CrashInfo(pid_t pid, ICLRDataTarget* dataTarget, bool sos); virtual ~CrashInfo(); - bool EnumerateAndSuspendThreads(); - bool GatherCrashInfo(MINIDUMP_TYPE minidumpType); + bool EnumerateAndSuspendThreads(bool suspend = true); + bool SetThreadsRegisters(const std::vector<elf_prstatus*> &statuses); + bool GatherCrashInfo(MINIDUMP_TYPE minidumpType, bool initialize_threads = true); void ResumeThreads(); bool ReadMemory(void* address, void* buffer, size_t size); uint64_t GetBaseAddress(uint64_t ip); |