brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1021 B · e30e959 Raw
33 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef lldb_NativeProcessSoftwareSingleStep_h10#define lldb_NativeProcessSoftwareSingleStep_h11 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 of25  // the relevan breakpoint26  std::map<lldb::tid_t, std::vector<lldb::addr_t>>27      m_threads_stepping_with_breakpoint;28};29 30} // namespace lldb_private31 32#endif // #ifndef lldb_NativeProcessSoftwareSingleStep_h33