summaryrefslogtreecommitdiff
path: root/src/debug/createdump/crashinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/createdump/crashinfo.h')
-rw-r--r--src/debug/createdump/crashinfo.h5
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);