LLDB mainline
NativeRegisterContextFreeBSD.h
Go to the documentation of this file.
1//===-- NativeRegisterContextFreeBSD.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_NativeRegisterContextFreeBSD_h
10#define lldb_NativeRegisterContextFreeBSD_h
11
13
14namespace lldb_private {
15namespace process_freebsd {
16
17class NativeProcessFreeBSD;
18class NativeThreadFreeBSD;
19
21 : public virtual NativeRegisterContextRegisterInfo {
22public:
23 // This function is implemented in the NativeRegisterContextFreeBSD_*
24 // subclasses to create a new instance of the host specific
25 // NativeRegisterContextFreeBSD. The implementations can't collide as only one
26 // NativeRegisterContextFreeBSD_* variant should be compiled into the final
27 // executable.
30 NativeThreadFreeBSD &native_thread);
31 virtual llvm::Error
33
34protected:
36 virtual ::pid_t GetProcessPid();
37};
38
39} // namespace process_freebsd
40} // namespace lldb_private
41
42#endif // #ifndef lldb_NativeRegisterContextFreeBSD_h
An architecture specification class.
Definition: ArchSpec.h:31
Manages communication with the inferior (debugee) process.
virtual llvm::Error CopyHardwareWatchpointsFrom(NativeRegisterContextFreeBSD &source)=0
static NativeRegisterContextFreeBSD * CreateHostNativeRegisterContextFreeBSD(const ArchSpec &target_arch, NativeThreadFreeBSD &native_thread)
A class that represents a running process on the host machine.