aboutsummaryrefslogtreecommitdiff
path: root/src/google_breakpad
diff options
context:
space:
mode:
authornealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-07-02 00:30:44 +0000
committernealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-07-02 00:30:44 +0000
commit6e525cbfbba74d702dadf62c1878f3aa453a28c4 (patch)
treef4cd0e34ee8f31951086b5bd38902126a8f3be76 /src/google_breakpad
parentUpdated google mock external revision so we can use their own tuple implement... (diff)
downloadbreakpad-6e525cbfbba74d702dadf62c1878f3aa453a28c4.tar.xz
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
Diffstat (limited to 'src/google_breakpad')
-rw-r--r--src/google_breakpad/processor/process_state.h7
1 files changed, 6 insertions, 1 deletions
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 <string>
#include <vector>
-#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<CallStack*>* threads() const { return &threads_; }
+ const vector<MinidumpMemoryRegion*>* 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<CallStack*> threads_;
+ vector<MinidumpMemoryRegion*> thread_memory_regions_;
// OS and CPU information.
SystemInfo system_info_;