From 6e525cbfbba74d702dadf62c1878f3aa453a28c4 Mon Sep 17 00:00:00 2001 From: nealsid Date: Thu, 2 Jul 2009 00:30:44 +0000 Subject: Add stack-dumping logic to crash_report with -t switch R=jeremy A=nealsid git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@357 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/google_breakpad/processor/process_state.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/google_breakpad') diff --git a/src/google_breakpad/processor/process_state.h b/src/google_breakpad/processor/process_state.h index afbbb193..8247f707 100644 --- a/src/google_breakpad/processor/process_state.h +++ b/src/google_breakpad/processor/process_state.h @@ -36,8 +36,9 @@ #include #include -#include "google_breakpad/processor/system_info.h" #include "google_breakpad/common/breakpad_types.h" +#include "google_breakpad/processor/system_info.h" +#include "google_breakpad/processor/minidump.h" namespace google_breakpad { @@ -62,6 +63,9 @@ class ProcessState { u_int64_t crash_address() const { return crash_address_; } int requesting_thread() const { return requesting_thread_; } const vector* threads() const { return &threads_; } + const vector* thread_memory_regions() const { + return &thread_memory_regions_; + } const SystemInfo* system_info() const { return &system_info_; } const CodeModules* modules() const { return modules_; } @@ -101,6 +105,7 @@ class ProcessState { // Stacks for each thread (except possibly the exception handler // thread) at the time of the crash. vector threads_; + vector thread_memory_regions_; // OS and CPU information. SystemInfo system_info_; -- cgit v1.2.1