Date: Thu, 6 Aug 2020 16:20:45 +0000 (UTC) From: Dimitry Andric <dim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r363967 - projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD Message-ID: <202008061620.076GKjs5050704@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dim Date: Thu Aug 6 16:20:45 2020 New Revision: 363967 URL: https://svnweb.freebsd.org/changeset/base/363967 Log: Reapply r332965 (by emaste): lldb: remove assertion that target_arch is FreeBSD The target is not necessarily a FreeBSD binary - for example, it may be a Linux binary running under the linuxulator. Basic ptrace (live) debugging already worked in this case, except for the assertion. Sponsored by: Turing Robotic Industries Inc. Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp Modified: projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp ============================================================================== --- projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp Thu Aug 6 16:20:20 2020 (r363966) +++ projects/clang1100-import/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/FreeBSDThread.cpp Thu Aug 6 16:20:45 2020 (r363967) @@ -161,7 +161,6 @@ lldb::RegisterContextSP FreeBSDThread::GetRegisterCont RegisterInfoInterface *reg_interface = nullptr; const ArchSpec &target_arch = GetProcess()->GetTarget().GetArchitecture(); - assert(target_arch.GetTriple().getOS() == llvm::Triple::FreeBSD); switch (target_arch.GetMachine()) { case llvm::Triple::aarch64: break;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008061620.076GKjs5050704>