LLDB mainline
NativeRegisterContextFreeBSD.cpp
Go to the documentation of this file.
1//===-- NativeRegisterContextFreeBSD.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
10
12
14
15using namespace lldb_private;
16using namespace lldb_private::process_freebsd;
17
18// clang-format off
19#include <sys/types.h>
20#include <sys/ptrace.h>
21// clang-format on
22
24 return static_cast<NativeProcessFreeBSD &>(m_thread.GetProcess());
25}
26
28 return GetProcess().GetID();
29}
NativeProcessProtocol & GetProcess()
Manages communication with the inferior (debugee) process.
A class that represents a running process on the host machine.