[Lldb-commits] [PATCH] D69400: [lldb] [Host/netbsd] Set Arg0 for 'platform process list -v'

Michał Górny via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 25 00:48:02 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa6712889f5f1: [lldb] [Host/netbsd] Set Arg0 for 'platform process list -v' (authored by mgorny).
Herald added a project: LLDB.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69400/new/

https://reviews.llvm.org/D69400

Files:
  lldb/source/Host/netbsd/Host.cpp


Index: lldb/source/Host/netbsd/Host.cpp
===================================================================
--- lldb/source/Host/netbsd/Host.cpp
+++ lldb/source/Host/netbsd/Host.cpp
@@ -78,6 +78,7 @@
                     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);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69400.226382.patch
Type: text/x-patch
Size: 434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191025/be154520/attachment.bin>


More information about the lldb-commits mailing list