diff options
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h')
-rw-r--r-- | lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h index 5711426..8dccf24 100644 --- a/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h +++ b/lldb/source/Plugins/OperatingSystem/Python/OperatingSystemPython.h @@ -43,7 +43,8 @@ public: //------------------------------------------------------------------ // Class Methods //------------------------------------------------------------------ - OperatingSystemPython (lldb_private::Process *process); + OperatingSystemPython (lldb_private::Process *process, + const lldb_private::FileSpec &python_module_path); virtual ~OperatingSystemPython (); @@ -78,6 +79,10 @@ public: protected: + bool IsValid() const + { + return m_python_object != NULL; + } DynamicRegisterInfo * GetDynamicRegisterInfo (); |