aboutsummaryrefslogtreecommitdiff
path: root/src/google_airbag
diff options
context:
space:
mode:
authorwaylonis <waylonis@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-12-06 04:58:27 +0000
committerwaylonis <waylonis@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-12-06 04:58:27 +0000
commitdaf4211942bcdc2356faf4fda699eba9fd3305b6 (patch)
tree3aa4ceada43494695c4f5896a55d368856e4e59d /src/google_airbag
parentModule API (#32). r=waylonis, bryner (diff)
downloadbreakpad-daf4211942bcdc2356faf4fda699eba9fd3305b6.tar.xz
Update reporting strings for exceptions (Issue 88)
Add time_date_stamp to process state. git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@75 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/google_airbag')
-rw-r--r--src/google_airbag/processor/process_state.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/google_airbag/processor/process_state.h b/src/google_airbag/processor/process_state.h
index 6fd005b7..69005e2b 100644
--- a/src/google_airbag/processor/process_state.h
+++ b/src/google_airbag/processor/process_state.h
@@ -50,6 +50,7 @@ class ProcessState {
~ProcessState();
// Accessors. See the data declarations below.
+ u_int32_t time_date_stamp() const { return time_date_stamp_; }
bool crashed() const { return crashed_; }
string crash_reason() const { return crash_reason_; }
u_int64_t crash_address() const { return crash_address_; }
@@ -66,9 +67,12 @@ class ProcessState {
friend class MinidumpProcessor;
// Disallow instantiation other than by friends.
- ProcessState() : crashed_(false), crash_reason_(), crash_address_(0),
- requesting_thread_(-1), threads_(), os_(), os_version_(),
- cpu_(), cpu_info_(), modules_(NULL) {}
+ ProcessState() : time_date_stamp_(0), crashed_(false), crash_reason_(),
+ crash_address_(0), requesting_thread_(-1), threads_(),
+ os_(), os_version_(), cpu_(), cpu_info_(), modules_(NULL) {}
+
+ // The time-date stamp of the minidump (time_t format)
+ u_int32_t time_date_stamp_;
// True if the process crashed, false if the dump was produced outside
// of an exception handler.