Update the linux platform to use the new Host::FindProcesses functionality.

llvm-svn: 129018
This commit is contained in:
Greg Clayton 2011-04-06 18:50:36 +00:00
parent 6b06e18c70
commit 15eb2558ef
2 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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);