summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/Linux
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Plugins/Platform/Linux')
-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