diff options
Diffstat (limited to 'lldb/source/Breakpoint/StoppointCallbackContext.cpp')
-rw-r--r-- | lldb/source/Breakpoint/StoppointCallbackContext.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lldb/source/Breakpoint/StoppointCallbackContext.cpp b/lldb/source/Breakpoint/StoppointCallbackContext.cpp index da4d9e3cc5a..2266c3e429c 100644 --- a/lldb/source/Breakpoint/StoppointCallbackContext.cpp +++ b/lldb/source/Breakpoint/StoppointCallbackContext.cpp @@ -18,13 +18,14 @@ using namespace lldb_private; StoppointCallbackContext::StoppointCallbackContext() : event (NULL), - exe_ctx() + exe_ctx_ref (), + is_synchronous (false) { } -StoppointCallbackContext::StoppointCallbackContext(Event *e, Process* p, Thread *t, StackFrame *f, bool synchronously) : +StoppointCallbackContext::StoppointCallbackContext(Event *e, const ExecutionContext &exe_ctx, bool synchronously) : event (e), - exe_ctx (p, t, f), + exe_ctx_ref (exe_ctx), is_synchronous(synchronously) { } @@ -33,6 +34,6 @@ void StoppointCallbackContext::Clear() { event = NULL; - exe_ctx.Clear(); + exe_ctx_ref.Clear(); is_synchronous = false; } |