diff options
| author | Michał Górny <mgorny@moritz.systems> | 2020-12-18 16:07:20 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@moritz.systems> | 2021-01-02 19:15:12 +0100 |
| commit | d5317b41c5857df4d4b2a382abcd58b81d2dcb18 (patch) | |
| tree | 92eb26c383cf2dad34d28d78d6d0e87e0b91385e /lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h | |
| parent | 54a1c861ca7a9e15d23904e1e702ac7e868882b0 (diff) | |
[Process/NetBSD] Copy changes from FreeBSDRemote and reformat
Copy changes, including:
- NativeProcessNetBSD::GetLoadedModuleFileSpec()
and NativeProcessNetBSD::GetFileLoadAddress() methods
- split x86 register sets by CPU extensions
- use offset/size-based register reading/writing
Differential Revision: https://reviews.llvm.org/D93541
Diffstat (limited to 'lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h')
| -rw-r--r-- | lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h b/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h index bf35a6a23b9a..3d59a4f72e94 100644 --- a/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h +++ b/lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.h @@ -69,9 +69,13 @@ public: Status SetBreakpoint(lldb::addr_t addr, uint32_t size, bool hardware) override; + // The two following methods are probably not necessary and probably + // will never be called. Nevertheless, we implement them right now + // to reduce the differences between different platforms and reduce + // the risk of the lack of implementation actually breaking something, + // at least for the time being. Status GetLoadedModuleFileSpec(const char *module_path, FileSpec &file_spec) override; - Status GetFileLoadAddress(const llvm::StringRef &file_name, lldb::addr_t &load_addr) override; |
