<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="font-family: Menlo-Regular;" class="">This test fails on green dragon:</span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><a href="http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/2538/changes#detail0" style="font-family: Menlo-Regular;" class="">http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/2538/changes#detail0</a><br style="font-family: Menlo-Regular;" class=""><a href="http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/2538/testReport/junit/lldb-api/functionalities_gdb_remote_client/TestPlatformClient_py/" style="font-family: Menlo-Regular;" class="">http://green.lab.llvm.org/green/view/LLDB/job/lldb-cmake/2538/testReport/junit/lldb-api/functionalities_gdb_remote_client/TestPlatformClient_py/</a><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> lldb-api.functionalities/gdb_remote_client.TestPlatformClient.py (from lldb-api)</span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> Failing for the past 1 build (Since Failed#2538 )</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> Took 0.66 sec.</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> add description</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> Stacktrace</span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> lldb version 10.0.99 (</span><a href="http://labmaster3.local/git/llvm-project.git" style="font-family: Menlo-Regular;" class="">http://labmaster3.local/git/llvm-project.git</a><span style="font-family: Menlo-Regular;" class=""> revision 1edb7e0b6f390b066f5218208a7c8ac974ee243c)</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">   clang revision 089a334c39d06e958607e1e8e0c9796f9387f512</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">   llvm revision 089a334c39d06e958607e1e8e0c9796f9387f512</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> LLDB library dir: /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/bin</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> LLDB import library dir: /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/bin</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> libstdcxx tests will not be run because: Don't know how to build with libstdcxx on macosx</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> Skipping following debug info categories: ['dwo']</span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> Session logs for test failures/errors/unexpected successes will go into directory '/Users/buildslave/jenkins/workspace/lldb-cmake/test/logs'</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> Command invoked: /Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/test/API/dotest.py --arch=x86_64 -s /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --executable /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin/lldb --dsymutil /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin/dsymutil --filecheck /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin/FileCheck -C /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin/clang --codesign-identity lldb_codesign --server /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./bin/debugserver --arch x86_64 --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/lldb-test-build.noindex -s=/Users/buildslave/jenkins/workspace/lldb-cmake/test/logs -t --env TERM=vt100 --env LLVM_LIBS_DIR=/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/./lib --build-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/tools/lldb/lldb-test-build.noindex --lldb-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/tools/lldb/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/tools/lldb/lldb-test-build.noindex/module-cache-clang/lldb-api /Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client -p TestPlatformClient.py</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> Change dir to: /Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> runCmd: settings set symbols.enable-external-lookup false</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> output: </span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> runCmd: settings set plugin.process.gdb-remote.packet-timeout 60</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> output: </span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> runCmd: settings set symbols.clang-modules-cache-path "/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/tools/lldb/lldb-test-build.noindex/module-cache-lldb/lldb-api"</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> output: </span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> runCmd: settings set use-color false</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> output: </span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> runCmd: platform select remote-linux</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> output:   Platform: remote-linux</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">  Connected: no</span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> runCmd: platform connect </span><a href="connect://localhost:52264" style="font-family: Menlo-Regular;" class="">connect://localhost:52264</a><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> output:   Platform: remote-linux</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">   Hostname: (null)</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">  Connected: yes</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> WorkingDir: /</span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> runCmd: platform process list -x</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> runCmd failed!</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> error: no processes were found on the "remote-linux" platform</span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> FAIL: LLDB (/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/bin/clang-10-x86_64) :: test_process_list_with_all_users (TestPlatformClient.TestPlatformClient)</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> Restore dir to: /Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/tools/lldb/test</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> ======================================================================</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> FAIL: test_process_list_with_all_users (TestPlatformClient.TestPlatformClient)</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">    Test connecting to a remote linux platform</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> ----------------------------------------------------------------------</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> Traceback (most recent call last):</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">   File "/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py", line 30, in test_process_list_with_all_users</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">     substrs=["1 matching process was found", "test_process"])</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">   File "/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2309, in expect</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">     inHistory=inHistory)</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">   File "/Users/buildslave/jenkins/workspace/lldb-cmake/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2068, in runCmd</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">     msg if (msg) else CMD_MSG(cmd))</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> AssertionError: False is not True : Command 'platform process list -x</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> Error output:</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> error: no processes were found on the "remote-linux" platform</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> ' returns successfully</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> Config=x86_64-/Users/buildslave/jenkins/workspace/lldb-cmake/lldb-build/bin/clang-10</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> ----------------------------------------------------------------------</span><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> Ran 1 test in 0.040s</span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class=""> RESULT: FAILED (0 passes, 1 failures, 0 errors, 0 skipped, 0 expected failures, 0 unexpected successes)</span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">Can you please take a look?</span><br style="font-family: Menlo-Regular;" class=""><br style="font-family: Menlo-Regular;" class=""><span style="font-family: Menlo-Regular;" class="">If you're not available I'll revert the patch later today to get the bots green again.</span><br style="font-family: Menlo-Regular;" class=""><div><br class=""></div><div>thanks!</div><div>adrian</div><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 11, 2019, at 12:41 PM, Walter Erquinigo via lldb-commits <<a href="mailto:lldb-commits@lists.llvm.org" class="">lldb-commits@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Author: wallace<br class="">Date: Fri Oct 11 12:41:12 2019<br class="">New Revision: 374584<br class=""><br class="">URL: <a href="http://llvm.org/viewvc/llvm-project?rev=374584&view=rev" class="">http://llvm.org/viewvc/llvm-project?rev=374584&view=rev</a><br class="">Log:<br class="">[platform process list] add a flag for showing the processes of all users<br class=""><br class="">Summary:<br class="">For context: <a href="https://reviews.llvm.org/D68293" class="">https://reviews.llvm.org/D68293</a><br class=""><br class="">We need a way to show all the processes on android regardless of the user id.<br class="">When you run `platform process list`, you only see the processes with the same user as the user that launched lldb-server. However, it's quite useful to see all the processes, though, and it will lay a foundation for full apk debugging support from lldb.<br class=""><br class="">Before:<br class="">```<br class="">PID    PARENT USER       TRIPLE                   NAME<br class="">====== ====== ========== ======================== ============================<br class="">3234   1                 aarch64-unknown-linux-android adbd<br class="">8034   3234              aarch64-unknown-linux-android sh<br class="">9096   3234              aarch64-unknown-linux-android sh<br class="">9098   9096              aarch64-unknown-linux-android lldb-server<br class="">(lldb) ^D<br class="">```<br class=""><br class="">Now:<br class="">```<br class="">(lldb) platform process list -x<br class="">205 matching processes were found on "remote-android"<br class="">PID    PARENT USER       TRIPLE                   NAME<br class="">====== ====== ========== ======================== ============================<br class="">1      0                                          init<br class="">524    1                                          init<br class="">525    1                                          init<br class="">531    1                                          ueventd<br class="">568    1                                          logd<br class="">569    1                 aarch64-unknown-linux-android servicemanager<br class="">570    1                 aarch64-unknown-linux-android hwservicemanager<br class="">571    1                 aarch64-unknown-linux-android vndservicemanager<br class="">577    1                 aarch64-unknown-linux-android qseecomd<br class="">580    577               aarch64-unknown-linux-android qseecomd<br class="">...<br class="">23816  979                                        com.android.providers.calendar<br class="">24600  979                                        com.verizon.mips.services<br class="">27888  979                                        com.hualai<br class="">28043  2378                                       com.android.chrome:sandboxed_process0<br class="">31449  979                                        com.att.shm<br class="">31779  979                                        com.samsung.android.authfw<br class="">31846  979                                        com.samsung.android.server.iris<br class="">32014  979                                        com.samsung.android.MtpApplication<br class="">32045  979                                        com.samsung.InputEventApp<br class="">```<br class=""><br class="">Reviewers: labath,xiaobai,aadsm,clayborg<br class=""><br class="">Subscribers:<br class=""><br class="">Added:<br class="">    lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py<br class="">Modified:<br class="">    lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py<br class="">    lldb/trunk/source/Commands/CommandObjectPlatform.cpp<br class="">    lldb/trunk/source/Commands/Options.td<br class="">    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp<br class=""><br class="">Added: lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py?rev=374584&view=auto" class="">http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py?rev=374584&view=auto</a><br class="">==============================================================================<br class="">--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py (added)<br class="">+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestPlatformClient.py Fri Oct 11 12:41:12 2019<br class="">@@ -0,0 +1,35 @@<br class="">+import lldb<br class="">+import binascii<br class="">+import os<br class="">+from lldbsuite.test.lldbtest import *<br class="">+from lldbsuite.test.decorators import *<br class="">+from gdbclientutils import *<br class="">+<br class="">+<br class="">+class TestPlatformClient(GDBRemoteTestBase):<br class="">+<br class="">+    def test_process_list_with_all_users(self):<br class="">+        """Test connecting to a remote linux platform"""<br class="">+<br class="">+        class MyResponder(MockGDBServerResponder):<br class="">+            def qfProcessInfo(self, packet):<br class="">+                if "all_users:1" in packet:<br class="">+                    return "pid:10;ppid:1;uid:1;gid:1;euid:1;egid:1;name:" + binascii.hexlify("/a/test_process") + ";"<br class="">+                else:<br class="">+                    return "E04"<br class="">+<br class="">+        self.server.responder = MyResponder()<br class="">+<br class="">+        self.runCmd("platform select remote-linux")<br class="">+<br class="">+        try:<br class="">+            self.runCmd("platform connect <a href="connect://localhost:%d" class="">connect://localhost:%d</a>" %<br class="">+                        self.server.port)<br class="">+            self.assertTrue(self.dbg.GetSelectedPlatform().IsConnected())<br class="">+            self.expect("platform process list -x",<br class="">+                        substrs=["1 matching process was found", "test_process"])<br class="">+            self.expect("platform process list",<br class="">+                        error=True,<br class="">+                        substrs=["error: no processes were found on the \"remote-linux\" platform"])<br class="">+        finally:<br class="">+            self.dbg.GetSelectedPlatform().DisconnectRemote()<br class=""><br class="">Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py?rev=374584&r1=374583&r2=374584&view=diff" class="">http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py?rev=374584&r1=374583&r2=374584&view=diff</a><br class="">==============================================================================<br class="">--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py (original)<br class="">+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/gdbclientutils.py Fri Oct 11 12:41:12 2019<br class="">@@ -160,9 +160,34 @@ class MockGDBServerResponder:<br class="">             return self.QListThreadsInStopReply()<br class="">         if packet.startswith("qMemoryRegionInfo:"):<br class="">             return self.qMemoryRegionInfo()<br class="">+        if packet == "qQueryGDBServer":<br class="">+            return self.qQueryGDBServer()<br class="">+        if packet == "qHostInfo":<br class="">+            return self.qHostInfo()<br class="">+        if packet == "qGetWorkingDir":<br class="">+            return self.qGetWorkingDir()<br class="">+        if packet == "qsProcessInfo":<br class="">+            return self.qsProcessInfo()<br class="">+        if packet.startswith("qfProcessInfo"):<br class="">+            return self.qfProcessInfo(packet)<br class=""><br class="">         return self.other(packet)<br class=""><br class="">+    def qsProcessInfo(self):<br class="">+        return "E04"<br class="">+<br class="">+    def qfProcessInfo(self, packet):<br class="">+        raise "E04"<br class="">+<br class="">+    def qGetWorkingDir(self):<br class="">+        return "2f"<br class="">+<br class="">+    def qHostInfo(self):<br class="">+        return "ptrsize:8;endian:little;"<br class="">+<br class="">+    def qQueryGDBServer(self):<br class="">+        return "E04"<br class="">+<br class="">     def interrupt(self):<br class="">         raise self.UnexpectedPacketException()<br class=""><br class="">@@ -171,7 +196,7 @@ class MockGDBServerResponder:<br class=""><br class="">     def vCont(self, packet):<br class="">         raise self.UnexpectedPacketException()<br class="">-    <br class="">+<br class="">     def readRegisters(self):<br class="">         return "00000000" * self.registerCount<br class=""><br class="">@@ -425,7 +450,6 @@ class MockGDBServer:<br class="">     class InvalidPacketException(Exception):<br class="">         pass<br class=""><br class="">-<br class=""> class GDBRemoteTestBase(TestBase):<br class="">     """<br class="">     Base class for GDB client tests.<br class=""><br class="">Modified: lldb/trunk/source/Commands/CommandObjectPlatform.cpp<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectPlatform.cpp?rev=374584&r1=374583&r2=374584&view=diff" class="">http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectPlatform.cpp?rev=374584&r1=374583&r2=374584&view=diff</a><br class="">==============================================================================<br class="">--- lldb/trunk/source/Commands/CommandObjectPlatform.cpp (original)<br class="">+++ lldb/trunk/source/Commands/CommandObjectPlatform.cpp Fri Oct 11 12:41:12 2019<br class="">@@ -1264,6 +1264,10 @@ protected:<br class="">         verbose = true;<br class="">         break;<br class=""><br class="">+      case 'x':<br class="">+        match_info.SetMatchAllUsers(true);<br class="">+        break;<br class="">+<br class="">       default:<br class="">         llvm_unreachable("Unimplemented option");<br class="">       }<br class=""><br class="">Modified: lldb/trunk/source/Commands/Options.td<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/Options.td?rev=374584&r1=374583&r2=374584&view=diff" class="">http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/Options.td?rev=374584&r1=374583&r2=374584&view=diff</a><br class="">==============================================================================<br class="">--- lldb/trunk/source/Commands/Options.td (original)<br class="">+++ lldb/trunk/source/Commands/Options.td Fri Oct 11 12:41:12 2019<br class="">@@ -591,6 +591,9 @@ let Command = "platform process list" in<br class="">   def platform_process_list_show_args : Option<"show-args", "A">,<br class="">     GroupRange<1, 6>,<br class="">     Desc<"Show process arguments instead of the process executable basename.">;<br class="">+  def platform_process_list_all_users: Option<"all-users", "x">,<br class="">+    GroupRange<1,6>,<br class="">+    Desc<"Show processes matching all user IDs.">;<br class="">   def platform_process_list_verbose : Option<"verbose", "v">, GroupRange<1, 6>,<br class="">     Desc<"Enable verbose output.">;<br class=""> }<br class=""><br class="">Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp<br class="">URL: <a href="http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp?rev=374584&r1=374583&r2=374584&view=diff" class="">http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp?rev=374584&r1=374583&r2=374584&view=diff</a><br class="">==============================================================================<br class="">--- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp (original)<br class="">+++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp Fri Oct 11 12:41:12 2019<br class="">@@ -2176,8 +2176,7 @@ uint32_t GDBRemoteCommunicationClient::F<br class="">       if (match_info.GetProcessInfo().EffectiveGroupIDIsValid())<br class="">         packet.Printf("egid:%u;",<br class="">                       match_info.GetProcessInfo().GetEffectiveGroupID());<br class="">-      if (match_info.GetProcessInfo().EffectiveGroupIDIsValid())<br class="">-        packet.Printf("all_users:%u;", match_info.GetMatchAllUsers() ? 1 : 0);<br class="">+      packet.Printf("all_users:%u;", match_info.GetMatchAllUsers() ? 1 : 0);<br class="">       if (match_info.GetProcessInfo().GetArchitecture().IsValid()) {<br class="">         const ArchSpec &match_arch =<br class="">             match_info.GetProcessInfo().GetArchitecture();<br class=""><br class=""><br class="">_______________________________________________<br class="">lldb-commits mailing list<br class=""><a href="mailto:lldb-commits@lists.llvm.org" class="">lldb-commits@lists.llvm.org</a><br class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits<br class=""></div></div></blockquote></div><br class=""></body></html>