LLDB mainline
NativeThreadAIX.h
Go to the documentation of this file.
1//===-- NativeThreadAIX.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_SOURCE_PLUGINS_PROCESS_AIX_NATIVETHREADAIX_H_
10#define LLDB_SOURCE_PLUGINS_PROCESS_AIX_NATIVETHREADAIX_H_
11
14
16
18
20 friend class NativeProcessAIX;
21
22public:
24
25 // NativeThreadProtocol Interface
26 std::string GetName() override;
27
28 lldb::StateType GetState() override;
29
30 bool GetStopReason(ThreadStopInfo &stop_info,
31 std::string &description) override;
32
33 Status SetWatchpoint(lldb::addr_t addr, size_t size, uint32_t watch_flags,
34 bool hardware) override;
35
37
38 Status SetHardwareBreakpoint(lldb::addr_t addr, size_t size) override;
39
41
43
44 const NativeProcessAIX &GetProcess() const;
45
46 llvm::Expected<std::unique_ptr<llvm::MemoryBuffer>>
47 GetSiginfo() const override;
48
49private:
51 std::unique_ptr<NativeRegisterContextAIX> m_reg_context_up;
52};
53} // namespace lldb_private::process_aix
54
55#endif // #ifndef LLDB_SOURCE_PLUGINS_PROCESS_AIX_NATIVETHREADAIX_H_
NativeThreadProtocol(NativeProcessProtocol &process, lldb::tid_t tid)
An error handling class.
Definition Status.h:118
Manages communication with the inferior (debugee) process.
std::unique_ptr< NativeRegisterContextAIX > m_reg_context_up
Status SetWatchpoint(lldb::addr_t addr, size_t size, uint32_t watch_flags, bool hardware) override
bool GetStopReason(ThreadStopInfo &stop_info, std::string &description) override
Status SetHardwareBreakpoint(lldb::addr_t addr, size_t size) override
llvm::Expected< std::unique_ptr< llvm::MemoryBuffer > > GetSiginfo() const override
NativeThreadAIX(NativeProcessAIX &process, lldb::tid_t tid)
Status RemoveWatchpoint(lldb::addr_t addr) override
Status RemoveHardwareBreakpoint(lldb::addr_t addr) override
StateType
Process and Thread States.
uint64_t addr_t
Definition lldb-types.h:80
uint64_t tid_t
Definition lldb-types.h:84