Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/contrib/llvm-project/lldb/source/Plugins/Process/Utility/NativeProcessSoftwareSingleStep.h
39644 views
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
17
namespace lldb_private {
18
19
class NativeProcessSoftwareSingleStep {
20
public:
21
Status SetupSoftwareSingleStepping(NativeThreadProtocol &thread);
22
23
protected:
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
33