From a6712889f5f1702dfa535718abe400d1a83174c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 24 Oct 2019 19:47:49 +0200 Subject: [PATCH] [lldb] [Host/netbsd] Set Arg0 for 'platform process list -v' Differential Revision: https://reviews.llvm.org/D69400 --- lldb/source/Host/netbsd/Host.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/source/Host/netbsd/Host.cpp b/lldb/source/Host/netbsd/Host.cpp index 08fec099bf49..20f3db3c22c1 100644 --- a/lldb/source/Host/netbsd/Host.cpp +++ b/lldb/source/Host/netbsd/Host.cpp @@ -78,6 +78,7 @@ static bool GetNetBSDProcessArgs(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);