summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorWalter Erquinigo <a20012251@gmail.com>2019-10-12 01:08:50 +0000
committerWalter Erquinigo <a20012251@gmail.com>2019-10-12 01:08:50 +0000
commit16194bf8bff9e6ed1315fea34b9fa0530b511ef8 (patch)
treed12dcaa3d079994ef8a7e4541dd51eee375e95f6 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parent914f38295e1249daea77d75da230a4179a9a5b3b (diff)
downloadbcm5719-llvm-16194bf8bff9e6ed1315fea34b9fa0530b511ef8.tar.gz
bcm5719-llvm-16194bf8bff9e6ed1315fea34b9fa0530b511ef8.zip
Revert "[platform process list] add a flag for showing the processes of all users"
This reverts commit 08781f4c53a177662c029d3da9c407ba65ae6747. llvm-svn: 374621
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
-rw-r--r--lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
index f6ef4579245..51e31337dd5 100644
--- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
@@ -2176,7 +2176,8 @@ uint32_t GDBRemoteCommunicationClient::FindProcesses(
if (match_info.GetProcessInfo().EffectiveGroupIDIsValid())
packet.Printf("egid:%u;",
match_info.GetProcessInfo().GetEffectiveGroupID());
- packet.Printf("all_users:%u;", match_info.GetMatchAllUsers() ? 1 : 0);
+ if (match_info.GetProcessInfo().EffectiveGroupIDIsValid())
+ packet.Printf("all_users:%u;", match_info.GetMatchAllUsers() ? 1 : 0);
if (match_info.GetProcessInfo().GetArchitecture().IsValid()) {
const ArchSpec &match_arch =
match_info.GetProcessInfo().GetArchitecture();
OpenPOWER on IntegriCloud