[Lldb-commits] [PATCH] D69400: [lldb] [Host/netbsd] Include argv[0] in process_info.GetArguments()

walter erquinigo via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 24 11:32:19 PDT 2019


wallace added a comment.

Supposedly Arguments shouldn't contain Arg0 (https://reviews.llvm.org/source/llvm-github/browse/master/lldb/include/lldb/Utility/ProcessInfo.h$96)
I think you just need to change the dump method that prints to platform process list.

I don't know if NetBSD is doing something different, but the general dump method for ProcessInfo prints first arg0 and then the other args https://reviews.llvm.org/source/llvm-github/browse/master/lldb/source/Utility/ProcessInfo.cpp$229-235


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

https://reviews.llvm.org/D69400





More information about the lldb-commits mailing list