1//===-- NativeProcessSoftwareSingleStep.h -----------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef lldb_NativeProcessSoftwareSingleStep_h
10#define lldb_NativeProcessSoftwareSingleStep_h
11
12#include "lldb/Host/common/NativeProcessProtocol.h"
13#include "lldb/Host/common/NativeThreadProtocol.h"
14
15#include <map>
16
17namespace lldb_private {
18
19class NativeProcessSoftwareSingleStep {
20public:
21 Status SetupSoftwareSingleStepping(NativeThreadProtocol &thread);
22
23protected:
24 // List of thread ids stepping with a breakpoint with the address of
25 // the relevan breakpoint
26 std::map<lldb::tid_t, lldb::addr_t> m_threads_stepping_with_breakpoint;
27};
28
29} // namespace lldb_private
30
31#endif // #ifndef lldb_NativeProcessSoftwareSingleStep_h
32

source code of lldb/source/Plugins/Process/Utility/NativeProcessSoftwareSingleStep.h