[lldb] [Process/FreeBSDRemote] Fix "Fix attaching via lldb-server"
authorMichał Górny <mgorny@moritz.systems>
Tue, 3 Nov 2020 14:00:58 +0000 (15:00 +0100)
committerMichał Górny <mgorny@moritz.systems>
Tue, 3 Nov 2020 16:16:57 +0000 (17:16 +0100)
One of the changes seems to have been lost in rebase.  Reapply.

lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp

index 2c22f11..d132e37 100644 (file)
@@ -125,10 +125,6 @@ NativeProcessFreeBSD::Factory::Attach(
   if (!status.Success())
     return status.ToError();
 
-  status = process_up->SetupTrace();
-  if (status.Fail())
-    return status.ToError();
-
   return std::move(process_up);
 }