[Lldb-commits] [PATCH] D91810: [lldb] [Process/FreeBSD] Fix 'process connect' plugin choice

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 19 11:11:23 PST 2020


mgorny created this revision.
mgorny added reviewers: labath, emaste, krytarowski.
Herald added a subscriber: arichardson.
mgorny requested review of this revision.

Fix ProcessFreeBSD::CanDebug() to indicate whether the legacy plugin
is actually being used.  This is necessary to prevent LLDB from wrongly
selecting the legacy plugin when searching for a process plugin for
'process connect' command.


https://reviews.llvm.org/D91810

Files:
  lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp
  lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.h
  lldb/source/Plugins/Process/FreeBSD/ProcessFreeBSD.cpp
  lldb/test/API/commands/process/attach-resume/TestAttachResume.py
  lldb/test/API/functionalities/deleted-executable/TestDeletedExecutable.py
  lldb/test/API/functionalities/gdb_remote_client/TestProcessConnect.py
  lldb/test/Shell/Commands/command-process-connect.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91810.306483.patch
Type: text/x-patch
Size: 5505 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201119/769e299c/attachment.bin>


More information about the lldb-commits mailing list