[Lldb-commits] [lldb] r193053 - Fix python-free build.

Enrico Granata egranata at apple.com
Sun Oct 20 10:48:02 PDT 2013


Oops... The Foo was a test not meant to survive a commit.

Will fix!

Sent from the iPhone of
Enrico Granata <egranata@🍎.com>

> On Oct 20, 2013, at 10:36 AM, Joerg Sonnenberger <joerg at bec.de> wrote:
> 
> Author: joerg
> Date: Sun Oct 20 12:36:05 2013
> New Revision: 193053
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=193053&view=rev
> Log:
> Fix python-free build.
> 
> Modified:
>    lldb/trunk/source/DataFormatters/FormatManager.cpp
>    lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
>    lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
> 
> Modified: lldb/trunk/source/DataFormatters/FormatManager.cpp
> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/DataFormatters/FormatManager.cpp?rev=193053&r1=193052&r2=193053&view=diff
> ==============================================================================
> --- lldb/trunk/source/DataFormatters/FormatManager.cpp (original)
> +++ lldb/trunk/source/DataFormatters/FormatManager.cpp Sun Oct 20 12:36:05 2013
> @@ -840,7 +840,9 @@ FormatManager::LoadSystemFormatters()
>     sys_category_sp->GetSummaryNavigator()->Add(ConstString("unsigned char *"), string_format);
>     sys_category_sp->GetRegexSummaryNavigator()->Add(any_size_char_arr, string_array_format);
> 
> +#ifndef LLDB_DISABLE_PYTHON
>     AddCXXSynthetic(sys_category_sp, FooStructSynth, "Foo synth", ConstString("Foo"), ScriptedSyntheticChildren::Flags(), false);
> +#endif
> 
>     lldb::TypeSummaryImplSP ostype_summary(new StringSummaryFormat(TypeSummaryImpl::Flags().SetCascades(false)
>                                                                    .SetSkipPointers(true)
> 
> Modified: lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp
> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp?rev=193053&r1=193052&r2=193053&view=diff
> ==============================================================================
> --- lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp (original)
> +++ lldb/trunk/source/Plugins/Process/gdb-remote/GDBRemoteRegisterContext.cpp Sun Oct 20 12:36:05 2013
> @@ -17,7 +17,9 @@
> #include "lldb/Core/RegisterValue.h"
> #include "lldb/Core/Scalar.h"
> #include "lldb/Core/StreamString.h"
> +#ifndef LLDB_DISABLE_PYTHON
> #include "lldb/Interpreter/PythonDataObjects.h"
> +#endif
> #include "lldb/Target/ExecutionContext.h"
> #include "lldb/Utility/Utils.h"
> // Project includes
> 
> Modified: lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
> URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp?rev=193053&r1=193052&r2=193053&view=diff
> ==============================================================================
> --- lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp (original)
> +++ lldb/trunk/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp Sun Oct 20 12:36:05 2013
> @@ -49,7 +49,9 @@
> #include "lldb/Interpreter/CommandObject.h"
> #include "lldb/Interpreter/CommandObjectMultiword.h"
> #include "lldb/Interpreter/CommandReturnObject.h"
> +#ifndef LLDB_DISABLE_PYTHON
> #include "lldb/Interpreter/PythonDataObjects.h"
> +#endif
> #include "lldb/Symbol/ObjectFile.h"
> #include "lldb/Target/DynamicLoader.h"
> #include "lldb/Target/Target.h"
> @@ -320,6 +322,7 @@ ProcessGDBRemote::GetPluginVersion()
> bool
> ProcessGDBRemote::ParsePythonTargetDefinition(const FileSpec &target_definition_fspec)
> {
> +#ifndef LLDB_DISABLE_PYTHON
>     ScriptInterpreter *interpreter = GetTarget().GetDebugger().GetCommandInterpreter().GetScriptInterpreter();
>     Error error;
>     lldb::ScriptInterpreterObjectSP module_object_sp (interpreter->LoadPluginModule(target_definition_fspec, error));
> @@ -353,6 +356,7 @@ ProcessGDBRemote::ParsePythonTargetDefin
>             }
>         }
>     }
> +#endif
>     return false;
> }
> 
> 
> 
> _______________________________________________
> lldb-commits mailing list
> lldb-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20131020/e7c97bfc/attachment.html>


More information about the lldb-commits mailing list