diff options
Diffstat (limited to 'source/Plugins/Process/Utility/InferiorCallPOSIX.cpp')
| -rw-r--r-- | source/Plugins/Process/Utility/InferiorCallPOSIX.cpp | 15 | 
1 files changed, 3 insertions, 12 deletions
| diff --git a/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp b/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp index 3923c54334067..bd3978cc0ab41 100644 --- a/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp +++ b/source/Plugins/Process/Utility/InferiorCallPOSIX.cpp @@ -93,7 +93,7 @@ lldb_private::InferiorCallMmap (Process *process,              if (sc.GetAddressRange(range_scope, 0, use_inline_block_range, mmap_range))              {                  ClangASTContext *clang_ast_context = process->GetTarget().GetScratchClangASTContext(); -                ClangASTType clang_void_ptr_type = clang_ast_context->GetBasicType(eBasicTypeVoid).GetPointerType(); +                CompilerType clang_void_ptr_type = clang_ast_context->GetBasicType(eBasicTypeVoid).GetPointerType();                  lldb::addr_t args[] = { addr, length, prot_arg, flags_arg, fd, offset };                  lldb::ThreadPlanSP call_plan_sp (new ThreadPlanCallFunction (*thread,                                                                               mmap_range.GetBaseAddress(), @@ -103,9 +103,6 @@ lldb_private::InferiorCallMmap (Process *process,                  if (call_plan_sp)                  {                      StreamFile error_strm; -                    // This plan is a utility plan, so set it to discard itself when done. -                    call_plan_sp->SetIsMasterPlan (true); -                    call_plan_sp->SetOkayToDiscard(true);                      StackFrame *frame = thread->GetStackFrameAtIndex (0).get();                      if (frame) @@ -182,15 +179,12 @@ lldb_private::InferiorCallMunmap (Process *process,                  lldb::addr_t args[] = { addr, length };                  lldb::ThreadPlanSP call_plan_sp (new ThreadPlanCallFunction (*thread,                                                                              munmap_range.GetBaseAddress(), -                                                                            ClangASTType(), +                                                                            CompilerType(),                                                                              args,                                                                              options));                  if (call_plan_sp)                  {                      StreamFile error_strm; -                    // This plan is a utility plan, so set it to discard itself when done. -                    call_plan_sp->SetIsMasterPlan (true); -                    call_plan_sp->SetOkayToDiscard(true);                      StackFrame *frame = thread->GetStackFrameAtIndex (0).get();                      if (frame) @@ -235,7 +229,7 @@ lldb_private::InferiorCall (Process *process,      options.SetTimeoutUsec(500000);      ClangASTContext *clang_ast_context = process->GetTarget().GetScratchClangASTContext(); -    ClangASTType clang_void_ptr_type = clang_ast_context->GetBasicType(eBasicTypeVoid).GetPointerType(); +    CompilerType clang_void_ptr_type = clang_ast_context->GetBasicType(eBasicTypeVoid).GetPointerType();      lldb::ThreadPlanSP call_plan_sp (new ThreadPlanCallFunction (*thread,                                                                   *address,                                                                   clang_void_ptr_type, @@ -244,9 +238,6 @@ lldb_private::InferiorCall (Process *process,      if (call_plan_sp)      {          StreamString error_strm; -        // This plan is a utility plan, so set it to discard itself when done. -        call_plan_sp->SetIsMasterPlan (true); -        call_plan_sp->SetOkayToDiscard(true);          StackFrame *frame = thread->GetStackFrameAtIndex (0).get();          if (frame) | 
