llvm/lldb/source/Target/ThreadPlanStepOverBreakpoint.cpp

//===-- ThreadPlanStepOverBreakpoint.cpp ----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "lldb/Target/ThreadPlanStepOverBreakpoint.h"

#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/Stream.h"

usingnamespacelldb;
usingnamespacelldb_private;

// ThreadPlanStepOverBreakpoint: Single steps over a breakpoint bp_site_sp at
// the pc.

ThreadPlanStepOverBreakpoint::ThreadPlanStepOverBreakpoint(Thread &thread)
    :{}

ThreadPlanStepOverBreakpoint::~ThreadPlanStepOverBreakpoint() = default;

void ThreadPlanStepOverBreakpoint::GetDescription(
    Stream *s, lldb::DescriptionLevel level) {}

bool ThreadPlanStepOverBreakpoint::ValidatePlan(Stream *error) {}

bool ThreadPlanStepOverBreakpoint::DoPlanExplainsStop(Event *event_ptr) {}

bool ThreadPlanStepOverBreakpoint::ShouldStop(Event *event_ptr) {}

bool ThreadPlanStepOverBreakpoint::StopOthers() {}

// This thread plan does a single instruction step over a breakpoint instruction
// and needs to not resume other threads, so return false to stop the
// ThreadPlanSingleThreadTimeout from timing out and trying to resume all
// threads. If all threads gets resumed before we disable, single step and
// re-enable the breakpoint, we can miss breakpoints on other threads.
bool ThreadPlanStepOverBreakpoint::SupportsResumeOthers() {}

StateType ThreadPlanStepOverBreakpoint::GetPlanRunState() {}

bool ThreadPlanStepOverBreakpoint::DoWillResume(StateType resume_state,
                                                bool current_plan) {}

bool ThreadPlanStepOverBreakpoint::WillStop() {}

void ThreadPlanStepOverBreakpoint::DidPop() {}

bool ThreadPlanStepOverBreakpoint::MischiefManaged() {}

void ThreadPlanStepOverBreakpoint::ReenableBreakpointSite() {}
void ThreadPlanStepOverBreakpoint::ThreadDestroyed() {}

void ThreadPlanStepOverBreakpoint::SetAutoContinue(bool do_it) {}

bool ThreadPlanStepOverBreakpoint::ShouldAutoContinue(Event *event_ptr) {}

bool ThreadPlanStepOverBreakpoint::IsPlanStale() {}