summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-11-17 19:39:20 +0000
committerGreg Clayton <gclayton@apple.com>2014-11-17 19:39:20 +0000
commit8012cadbf32335457b8a4ea85783850249ccb805 (patch)
tree4528f3cbc28b5193812febb3926688ed1d6042e6 /lldb/scripts/Python/interface
parent41d03bc540c7240554fc8945a02fb1d03a78b626 (diff)
downloadbcm5719-llvm-8012cadbf32335457b8a4ea85783850249ccb805.tar.gz
bcm5719-llvm-8012cadbf32335457b8a4ea85783850249ccb805.zip
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
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBTarget.i12
1 files changed, 12 insertions, 0 deletions
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);
};
OpenPOWER on IntegriCloud