LLDB
mainline
llvm-project
lldb
source
Plugins
Process
Linux
NativeRegisterContextLinux_arm64dbreg.h
Go to the documentation of this file.
1
//===-- NativeRegisterContextLinux_arm64dbreg.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
// When debugging 32-bit processes, Arm64 lldb-server should use 64-bit ptrace
10
// interfaces. 32-bit ptrace interfaces should only be used by 32-bit server.
11
// These functions are split out to be reused in both 32-bit and 64-bit register
12
// context for 64-bit server.
13
14
#include "
Plugins/Process/Linux/NativeProcessLinux.h
"
15
#include "
Plugins/Process/Utility/NativeRegisterContextDBReg.h
"
16
#include "
lldb/Utility/Status.h
"
17
18
namespace
lldb_private
{
19
namespace
process_linux
{
20
namespace
arm64
{
21
22
Status
ReadHardwareDebugInfo
(::pid_t tid, uint32_t &max_hwp_supported,
23
uint32_t &max_hbp_supported);
24
25
Status
WriteHardwareDebugRegs
(
26
int
hwbType, ::pid_t tid, uint32_t max_supported,
27
const
std::array<NativeRegisterContextDBReg::DREG, 16> ®s);
28
29
}
// namespace arm64
30
}
// namespace process_linux
31
}
// namespace lldb_private
NativeProcessLinux.h
NativeRegisterContextDBReg.h
Status.h
lldb_private::Status
An error handling class.
Definition
Status.h:118
lldb_private::process_linux::arm64
Definition
NativeRegisterContextLinux_arm64dbreg.h:20
lldb_private::process_linux::arm64::WriteHardwareDebugRegs
Status WriteHardwareDebugRegs(int hwbType, ::pid_t tid, uint32_t max_supported, const std::array< NativeRegisterContextDBReg::DREG, 16 > ®s)
lldb_private::process_linux::arm64::ReadHardwareDebugInfo
Status ReadHardwareDebugInfo(::pid_t tid, uint32_t &max_hwp_supported, uint32_t &max_hbp_supported)
lldb_private::process_linux
Definition
IntelPTCollector.h:26
lldb_private
A class that represents a running process on the host machine.
Definition
SBAddressRange.h:14
Generated on
for LLDB by
1.14.0