[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
Thu Oct 24 12:07:21 PDT 2019
mgorny updated this revision to Diff 226309.
mgorny retitled this revision from "[lldb] [Host/netbsd] Include argv[0] in process_info.GetArguments()" to "[lldb] [Host/netbsd] Set Arg0 for 'platform process list -v'".
mgorny edited the summary of this revision.
mgorny added a comment.
Ok, how does that look instead? ;-)
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.226309.patch
Type: text/x-patch
Size: 434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191024/f8ad6511/attachment.bin>
More information about the lldb-commits
mailing list