[Lldb-commits] [lldb] r233029 - Fix missing interfaces to scripts/Python/interface after r229110, r231858 and r232891

Ilia K ki.stfu at gmail.com
Mon Mar 23 14:50:22 PDT 2015


Author: ki.stfu
Date: Mon Mar 23 16:50:21 2015
New Revision: 233029

URL: http://llvm.org/viewvc/llvm-project?rev=233029&view=rev
Log:
Fix missing interfaces to scripts/Python/interface after r229110, r231858 and r232891

This includes:
# SBCommandInterpreter::EventIsCommandInterpreterEvent
# SBModule::GetSymbolFileSpec/GetObjectFileHeaderAddress
# SBTarget::EventIsTargetEvent/GetTargetFromEvent/GetNumModulesFromEvent/GetModuleAtIndexFromEvent/GetLaunchInfo/SetLaunchInfo


Modified:
    lldb/trunk/scripts/Python/interface/SBCommandInterpreter.i
    lldb/trunk/scripts/Python/interface/SBModule.i
    lldb/trunk/scripts/Python/interface/SBTarget.i

Modified: lldb/trunk/scripts/Python/interface/SBCommandInterpreter.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/interface/SBCommandInterpreter.i?rev=233029&r1=233028&r2=233029&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/interface/SBCommandInterpreter.i (original)
+++ lldb/trunk/scripts/Python/interface/SBCommandInterpreter.i Mon Mar 23 16:50:21 2015
@@ -139,7 +139,10 @@ public:
     
     static const char *
     GetArgumentDescriptionAsCString (const lldb::CommandArgumentType arg_type);
-    
+
+    static bool
+    EventIsCommandInterpreterEvent (const lldb::SBEvent &event);
+
     bool
     IsValid() const;
 

Modified: lldb/trunk/scripts/Python/interface/SBModule.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/interface/SBModule.i?rev=233029&r1=233028&r2=233029&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/interface/SBModule.i (original)
+++ lldb/trunk/scripts/Python/interface/SBModule.i Mon Mar 23 16:50:21 2015
@@ -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;
              

Modified: lldb/trunk/scripts/Python/interface/SBTarget.i
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/interface/SBTarget.i?rev=233029&r1=233028&r2=233029&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/interface/SBTarget.i (original)
+++ lldb/trunk/scripts/Python/interface/SBTarget.i Mon Mar 23 16:50:21 2015
@@ -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;
 





More information about the lldb-commits mailing list