1 //===-- StoppointCallbackContext.cpp ----------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #include "lldb/Breakpoint/StoppointCallbackContext.h"
11 
12 // C Includes
13 // C++ Includes
14 // Other libraries and framework includes
15 // Project includes
16 
17 using namespace lldb_private;
18 
19 StoppointCallbackContext::StoppointCallbackContext() :
20     event (NULL),
21     exe_ctx()
22 {
23 }
24 
25 StoppointCallbackContext::StoppointCallbackContext(Event *e, Process* p, Thread *t, StackFrame *f, bool synchronously) :
26     event (e),
27     exe_ctx (p, t, f),
28     is_synchronous(synchronously)
29 {
30 }
31 
32 void
33 StoppointCallbackContext::Clear()
34 {
35     event = NULL;
36     exe_ctx.Clear();
37     is_synchronous = false;
38 }
39