summaryrefslogtreecommitdiffstats
path: root/lldb/source/Breakpoint/StoppointCallbackContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Breakpoint/StoppointCallbackContext.cpp')
-rw-r--r--lldb/source/Breakpoint/StoppointCallbackContext.cpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/lldb/source/Breakpoint/StoppointCallbackContext.cpp b/lldb/source/Breakpoint/StoppointCallbackContext.cpp
new file mode 100644
index 00000000000..86620621c76
--- /dev/null
+++ b/lldb/source/Breakpoint/StoppointCallbackContext.cpp
@@ -0,0 +1,38 @@
+//===-- StoppointCallbackContext.cpp ----------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "lldb/Breakpoint/StoppointCallbackContext.h"
+
+// C Includes
+// C++ Includes
+// Other libraries and framework includes
+// Project includes
+
+using namespace lldb_private;
+
+StoppointCallbackContext::StoppointCallbackContext() :
+ event (NULL),
+ context()
+{
+}
+
+StoppointCallbackContext::StoppointCallbackContext(Event *e, Process* p, Thread *t, StackFrame *f, bool synchronously) :
+ event (e),
+ context (p, t, f),
+ is_synchronous(synchronously)
+{
+}
+
+void
+StoppointCallbackContext::Clear()
+{
+ event = NULL;
+ context.Clear();
+ is_synchronous = false;
+}
OpenPOWER on IntegriCloud