[Lldb-commits] [lldb] 2384c4f - Revert "[lldb] [Host/freebsd] Set Arg0 for 'platform process list -v'"
Michał Górny via lldb-commits
lldb-commits at lists.llvm.org
Mon Nov 9 03:09:24 PST 2020
Author: Michał Górny
Date: 2020-11-09T12:09:12+01:00
New Revision: 2384c4f9713a19874821c0f290227680a7bcf283
URL: https://github.com/llvm/llvm-project/commit/2384c4f9713a19874821c0f290227680a7bcf283
DIFF: https://github.com/llvm/llvm-project/commit/2384c4f9713a19874821c0f290227680a7bcf283.diff
LOG: Revert "[lldb] [Host/freebsd] Set Arg0 for 'platform process list -v'"
Accidentally referenced the wrong diff.
This reverts commit fce8e758892f0b650762513680adc06cea53d6e3.
Added:
Modified:
lldb/source/Host/freebsd/Host.cpp
lldb/test/API/commands/platform/process/list/TestProcessList.py
Removed:
################################################################################
diff --git a/lldb/source/Host/freebsd/Host.cpp b/lldb/source/Host/freebsd/Host.cpp
index c0cc74a5f6cc..460a535cf1e0 100644
--- a/lldb/source/Host/freebsd/Host.cpp
+++ b/lldb/source/Host/freebsd/Host.cpp
@@ -83,7 +83,6 @@ GetFreeBSDProcessArgs(const ProcessInstanceInfoMatch *match_info_ptr,
match_info_ptr->GetProcessInfo().GetName())))
return false;
- process_info.SetArg0(cstr);
Args &proc_args = process_info.GetArguments();
while (1) {
const uint8_t *p = data.PeekData(offset, 1);
diff --git a/lldb/test/API/commands/platform/process/list/TestProcessList.py b/lldb/test/API/commands/platform/process/list/TestProcessList.py
index fe2ed74916eb..1bc37b542b19 100644
--- a/lldb/test/API/commands/platform/process/list/TestProcessList.py
+++ b/lldb/test/API/commands/platform/process/list/TestProcessList.py
@@ -19,6 +19,7 @@ class ProcessListTestCase(TestBase):
@skipIfWindows # https://bugs.llvm.org/show_bug.cgi?id=43702
@skipIfRemote # rdar://problem/66542336
+ @expectedFailureAll(oslist=['freebsd'])
def test_process_list_with_args(self):
"""Test process list show process args"""
self.build()
More information about the lldb-commits
mailing list