1254721Semaste//===-- StoppointCallbackContext.cpp ----------------------------*- C++ -*-===//
2254721Semaste//
3254721Semaste//                     The LLVM Compiler Infrastructure
4254721Semaste//
5254721Semaste// This file is distributed under the University of Illinois Open Source
6254721Semaste// License. See LICENSE.TXT for details.
7254721Semaste//
8254721Semaste//===----------------------------------------------------------------------===//
9254721Semaste
10254721Semaste#include "lldb/Breakpoint/StoppointCallbackContext.h"
11254721Semaste
12254721Semaste// C Includes
13254721Semaste// C++ Includes
14254721Semaste// Other libraries and framework includes
15254721Semaste// Project includes
16254721Semaste
17254721Semasteusing namespace lldb_private;
18254721Semaste
19254721SemasteStoppointCallbackContext::StoppointCallbackContext() :
20254721Semaste    event (NULL),
21254721Semaste    exe_ctx_ref (),
22254721Semaste    is_synchronous (false)
23254721Semaste{
24254721Semaste}
25254721Semaste
26254721SemasteStoppointCallbackContext::StoppointCallbackContext(Event *e, const ExecutionContext &exe_ctx, bool synchronously) :
27254721Semaste    event (e),
28254721Semaste    exe_ctx_ref (exe_ctx),
29254721Semaste    is_synchronous(synchronously)
30254721Semaste{
31254721Semaste}
32254721Semaste
33254721Semastevoid
34254721SemasteStoppointCallbackContext::Clear()
35254721Semaste{
36254721Semaste    event = NULL;
37254721Semaste    exe_ctx_ref.Clear();
38254721Semaste    is_synchronous = false;
39254721Semaste}
40