LLDB mainline
NativeThreadAIX.cpp
Go to the documentation of this file.
1//===-- NativeThreadAIX.cpp ---------------------------------------------===//
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#include "NativeThreadAIX.h"
10#include "NativeProcessAIX.h"
11#include "lldb/Utility/State.h"
12
13using namespace lldb;
14using namespace lldb_private;
15using namespace lldb_private::process_aix;
16
19
20std::string NativeThreadAIX::GetName() { return ""; }
21
23
25 std::string &description) {
26 return false;
27}
28
30 uint32_t watch_flags, bool hardware) {
31 return Status("Unable to Set hardware watchpoint.");
32}
33
35 return Status("Clearing hardware watchpoint failed.");
36}
37
39 return Status("Unable to set hardware breakpoint.");
40}
41
43 return Status("Clearing hardware breakpoint failed.");
44}
45
49
51 return static_cast<const NativeProcessAIX &>(m_process);
52}
53
54llvm::Expected<std::unique_ptr<llvm::MemoryBuffer>>
56 return llvm::createStringError(llvm::inconvertibleErrorCode(),
57 "Not implemented");
58}
NativeThreadProtocol(NativeProcessProtocol &process, lldb::tid_t tid)
An error handling class.
Definition Status.h:118
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
A class that represents a running process on the host machine.
StateType
Process and Thread States.
uint64_t addr_t
Definition lldb-types.h:80
uint64_t tid_t
Definition lldb-types.h:84