diff options
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBCommandInterpreter.i | 5 | ||||
-rw-r--r-- | lldb/scripts/Python/interface/SBModule.i | 6 | ||||
-rw-r--r-- | lldb/scripts/Python/interface/SBTarget.i | 18 |
3 files changed, 28 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBCommandInterpreter.i b/lldb/scripts/Python/interface/SBCommandInterpreter.i index 0a795adb038..dfa3ce600bf 100644 --- a/lldb/scripts/Python/interface/SBCommandInterpreter.i +++ b/lldb/scripts/Python/interface/SBCommandInterpreter.i @@ -139,7 +139,10 @@ public: static const char * GetArgumentDescriptionAsCString (const lldb::CommandArgumentType arg_type); - + + static bool + EventIsCommandInterpreterEvent (const lldb::SBEvent &event); + bool IsValid() const; diff --git a/lldb/scripts/Python/interface/SBModule.i b/lldb/scripts/Python/interface/SBModule.i index 387a2741e02..43aab6a6b4c 100644 --- a/lldb/scripts/Python/interface/SBModule.i +++ b/lldb/scripts/Python/interface/SBModule.i @@ -309,6 +309,12 @@ public: GetVersion (uint32_t *versions, uint32_t num_versions); + lldb::SBFileSpec + GetSymbolFileSpec() const; + + lldb::SBAddress + GetObjectFileHeaderAddress() const; + bool operator == (const lldb::SBModule &rhs) const; diff --git a/lldb/scripts/Python/interface/SBTarget.i b/lldb/scripts/Python/interface/SBTarget.i index 162cc6490e6..311b469c78b 100644 --- a/lldb/scripts/Python/interface/SBTarget.i +++ b/lldb/scripts/Python/interface/SBTarget.i @@ -81,6 +81,18 @@ public: bool IsValid() const; + static bool + EventIsTargetEvent (const lldb::SBEvent &event); + + static lldb::SBTarget + GetTargetFromEvent (const lldb::SBEvent &event); + + static uint32_t + GetNumModulesFromEvent (const lldb::SBEvent &event); + + static lldb::SBModule + GetModuleAtIndexFromEvent (const uint32_t idx, const lldb::SBEvent &event); + lldb::SBProcess GetProcess (); @@ -714,6 +726,12 @@ public: lldb::addr_t GetStackRedZoneSize(); + lldb::SBLaunchInfo + GetLaunchInfo () const; + + void + SetLaunchInfo (const lldb::SBLaunchInfo &launch_info); + bool operator == (const lldb::SBTarget &rhs) const; |