From 8012cadbf32335457b8a4ea85783850249ccb805 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Mon, 17 Nov 2014 19:39:20 +0000 Subject: Fixed more fallout from running the test suite remotely on iOS devices. Fixed include: - Change Platform::ResolveExecutable(...) to take a ModuleSpec instead of a FileSpec + ArchSpec to help resolve executables correctly when we have just a path + UUID (no arch). - Add the ability to set the listener in SBLaunchInfo and SBAttachInfo in case you don't want to use the debugger as the default listener. - Modified all places that use the SBLaunchInfo/SBAttachInfo and the internal ProcessLaunchInfo/ProcessAttachInfo to not take a listener as a parameter since it is in the launch/attach info now - Load a module's sections by default when removing a module from a target. Since we create JIT modules for expressions and helper functions, we could end up with stale data in the section load list if a module was removed from the target as the section load list would still have entries for the unloaded module. Target now has the following functions to help unload all sections a single or multiple modules: size_t Target::UnloadModuleSections (const ModuleList &module_list); size_t Target::UnloadModuleSections (const lldb::ModuleSP &module_sp); llvm-svn: 222167 --- lldb/scripts/Python/interface/SBTarget.i | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lldb/scripts/Python/interface/SBTarget.i') diff --git a/lldb/scripts/Python/interface/SBTarget.i b/lldb/scripts/Python/interface/SBTarget.i index bce19d60096..e44bc6e0bbc 100644 --- a/lldb/scripts/Python/interface/SBTarget.i +++ b/lldb/scripts/Python/interface/SBTarget.i @@ -38,6 +38,12 @@ public: void SetExecutableFile (lldb::SBFileSpec exe_file, bool add_as_first_arg); + lldb::SBListener + GetListener (); + + void + SetListener (lldb::SBListener &listener); + uint32_t GetNumArguments (); @@ -205,6 +211,12 @@ public: bool ParentProcessIDIsValid(); + + lldb::SBListener + GetListener (); + + void + SetListener (lldb::SBListener &listener); }; -- cgit v1.2.3