From 40d26bc4b1854c1e493c500a96a9c9d65a93da59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 2 Nov 2020 17:01:40 +0100 Subject: [PATCH] [lldb] [Process/FreeBSDRemote] Remove GetSharedLibraryInfoAddress override Remove the NetBSD-specific override of GetSharedLibraryInfoAddress(), restoring the generic implementation from NativeProcessELF. Differential Revision: https://reviews.llvm.org/D90620 --- .../Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp | 5 ----- .../Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp b/lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp index a59fccb5cb65..ec056b3a602c 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp +++ b/lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp @@ -580,11 +580,6 @@ Status NativeProcessFreeBSD::PopulateMemoryRegionCache() { return Status(); } -lldb::addr_t NativeProcessFreeBSD::GetSharedLibraryInfoAddress() { - // punt on this for now - return LLDB_INVALID_ADDRESS; -} - size_t NativeProcessFreeBSD::UpdateThreads() { return m_threads.size(); } Status NativeProcessFreeBSD::SetBreakpoint(lldb::addr_t addr, uint32_t size, diff --git a/lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h b/lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h index 5900048610f5..4b6e9af140d0 100644 --- a/lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h +++ b/lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.h @@ -60,8 +60,6 @@ public: Status WriteMemory(lldb::addr_t addr, const void *buf, size_t size, size_t &bytes_written) override; - lldb::addr_t GetSharedLibraryInfoAddress() override; - size_t UpdateThreads() override; const ArchSpec &GetArchitecture() const override { return m_arch; }