[Lldb-commits] [lldb] r129018 - in /lldb/trunk/source/Plugins/Platform/Linux: PlatformLinux.cpp PlatformLinux.h
Greg Clayton
gclayton at apple.com
Wed Apr 6 11:50:37 PDT 2011
Author: gclayton
Date: Wed Apr 6 13:50:36 2011
New Revision: 129018
URL: http://llvm.org/viewvc/llvm-project?rev=129018&view=rev
Log:
Update the linux platform to use the new Host::FindProcesses functionality.
Modified:
lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.cpp
lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.h
Modified: lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.cpp?rev=129018&r1=129017&r2=129018&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.cpp Wed Apr 6 13:50:36 2011
@@ -192,11 +192,10 @@
}
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
Modified: lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.h?rev=129018&r1=129017&r2=129018&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.h (original)
+++ lldb/trunk/source/Plugins/Platform/Linux/PlatformLinux.h Wed Apr 6 13:50:36 2011
@@ -85,9 +85,8 @@
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);
More information about the lldb-commits
mailing list