Add a "scripted" breakpoint type to lldb.
authorJim Ingham <jingham@apple.com>
Thu, 13 Sep 2018 21:35:32 +0000 (21:35 +0000)
committerJim Ingham <jingham@apple.com>
Thu, 13 Sep 2018 21:35:32 +0000 (21:35 +0000)
commit3815e702e751efb14188c0f0beeb10e343d8f053
tree26247d7b8a0c3b3df344225d770ef7e6d553419c
parentd2316d756e2f3827ec662aee05d786d039b3d568
Add a "scripted" breakpoint type to lldb.

This change allows you to write a new breakpoint type where the
logic for setting breakpoints is determined by a Python callback
written using the SB API's.

Differential Revision: https://reviews.llvm.org/D51830

llvm-svn: 342185
27 files changed:
lldb/include/lldb/API/SBAddress.h
lldb/include/lldb/API/SBBreakpoint.h
lldb/include/lldb/API/SBStructuredData.h
lldb/include/lldb/API/SBSymbolContext.h
lldb/include/lldb/API/SBTarget.h
lldb/include/lldb/Breakpoint/BreakpointResolver.h
lldb/include/lldb/Interpreter/ScriptInterpreter.h
lldb/include/lldb/Target/Target.h
lldb/include/lldb/lldb-defines.h
lldb/include/lldb/lldb-enumerations.h
lldb/lldb.xcodeproj/project.pbxproj
lldb/packages/Python/lldbsuite/test/lldbutil.py
lldb/scripts/Python/python-swigsafecast.swig
lldb/scripts/Python/python-wrapper.swig
lldb/scripts/interface/SBBreakpoint.i
lldb/scripts/interface/SBStructuredData.i
lldb/scripts/interface/SBTarget.i
lldb/source/API/SBBreakpoint.cpp
lldb/source/API/SBStructuredData.cpp
lldb/source/API/SBTarget.cpp
lldb/source/API/SystemInitializerFull.cpp
lldb/source/Breakpoint/BreakpointResolver.cpp
lldb/source/Commands/CommandObjectBreakpoint.cpp
lldb/source/Core/SearchFilter.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h
lldb/source/Target/Target.cpp