aboutsummaryrefslogtreecommitdiff
path: root/src/processor/synth_minidump.h
diff options
context:
space:
mode:
authorted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-11-06 16:50:01 +0000
committerted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2012-11-06 16:50:01 +0000
commitfc6f700bb56d25919e40b13bd141832dcb8c6a7f (patch)
tree634325dd248493ef63784b3e2593b36236fff85a /src/processor/synth_minidump.h
parentWrong %ebp after skipping a frame for which the instruction pointer is not in... (diff)
downloadbreakpad-fc6f700bb56d25919e40b13bd141832dcb8c6a7f.tar.xz
Allow processing dumps with missing stack memory for some threads
r=mkrebs at https://breakpad.appspot.com/413002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1077 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor/synth_minidump.h')
-rw-r--r--src/processor/synth_minidump.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/processor/synth_minidump.h b/src/processor/synth_minidump.h
index 531603ad..17dbc480 100644
--- a/src/processor/synth_minidump.h
+++ b/src/processor/synth_minidump.h
@@ -228,6 +228,8 @@ class Context: public Section {
// Create a context belonging to DUMP whose contents are a copy of CONTEXT.
Context(const Dump &dump, const MDRawContextX86 &context);
Context(const Dump &dump, const MDRawContextARM &context);
+ // Add an empty context to the dump.
+ Context(const Dump &dump) : Section(dump) {}
// Add constructors for other architectures here. Remember to byteswap.
};