summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-04-06 18:50:36 +0000
committerGreg Clayton <gclayton@apple.com>2011-04-06 18:50:36 +0000
commit15eb2558ef26585eff01fced61f7b5575f972b37 (patch)
treec813f3c9ff7c66e9420b78034a5b652d599f20f5 /lldb/source/Plugins
parent6b06e18c7075062f992d7619caef354fe479a232 (diff)
downloadbcm5719-llvm-15eb2558ef26585eff01fced61f7b5575f972b37.tar.gz
bcm5719-llvm-15eb2558ef26585eff01fced61f7b5575f972b37.zip
Update the linux platform to use the new Host::FindProcesses functionality.
llvm-svn: 129018
Diffstat (limited to 'lldb/source/Plugins')
-rw-r--r--lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp7
-rw-r--r--lldb/source/Plugins/Platform/Linux/PlatformLinux.h5
2 files changed, 5 insertions, 7 deletions
diff --git a/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp b/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
index c5200d20b60..c8f69034e84 100644
--- a/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
+++ b/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
@@ -192,11 +192,10 @@ PlatformLinux::~PlatformLinux()
}
uint32_t
-PlatformLinux::FindProcessesByName (const char *name_match,
- NameMatchType name_match_type,
- ProcessInfoList &process_infos)
+PlatformLinux:: FindProcesses const ProcessInfoMatch &match_info,
+ ProcessInfoList &process_infos()
{
- return Host::FindProcessesByName (name_match, name_match_type, process_infos);
+ return Host:: FindProcesses (match_info, process_infos);
}
bool
diff --git a/lldb/source/Plugins/Platform/Linux/PlatformLinux.h b/lldb/source/Plugins/Platform/Linux/PlatformLinux.h
index 395778bb6f4..b6dc9e62824 100644
--- a/lldb/source/Plugins/Platform/Linux/PlatformLinux.h
+++ b/lldb/source/Plugins/Platform/Linux/PlatformLinux.h
@@ -85,9 +85,8 @@ namespace lldb_private {
const UUID* uuid, FileSpec &local_file);
virtual uint32_t
- FindProcessesByName (const char *name_match,
- NameMatchType name_match_type,
- ProcessInfoList &process_infos);
+ FindProcesseses (const ProcessInfoMatch &match_info,
+ ProcessInfoList &process_infos);
virtual bool
GetProcessInfo (lldb::pid_t pid, ProcessInfo &proc_info);
OpenPOWER on IntegriCloud