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
13
15
17
19 friend class NativeProcessAIX;
20
21public:
23
24 // NativeThreadProtocol Interface
25 std::string GetName() override;
26
27 lldb::StateType GetState() override;
28
29 bool GetStopReason(ThreadStopInfo &stop_info,
30 std::string &description) override;
31
32 Status SetWatchpoint(lldb::addr_t addr, size_t size, uint32_t watch_flags,
33 bool hardware) override;
34
36
37 Status SetHardwareBreakpoint(lldb::addr_t addr, size_t size) override;
38
40
42
43 const NativeProcessAIX &GetProcess() const;
44
45 llvm::Expected<std::unique_ptr<llvm::MemoryBuffer>>
46 GetSiginfo() const override;
47
48private:
50};
51} // namespace lldb_private::process_aix
52
53#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.
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