Skip to content

Commit 0dcbc87

Browse files
committed
[lldb/docs] Add ScriptingFrameProvider documentation to the website
This patch adds the documentation for ScriptedFrameProviders to the lldb website. Signed-off-by: Med Ismail Bennani <[email protected]>
1 parent 4286a47 commit 0dcbc87

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

lldb/docs/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ if (LLDB_ENABLE_PYTHON AND SPHINX_FOUND)
2828
add_custom_target(lldb-python-doc-package
2929
COMMAND "${CMAKE_COMMAND}" -E copy "${lldb_bindings_dir}/lldb.py" "${CMAKE_CURRENT_BINARY_DIR}/lldb/__init__.py"
3030
COMMAND "${CMAKE_COMMAND}" -E make_directory "${CMAKE_CURRENT_BINARY_DIR}/lldb/plugins"
31+
COMMAND "${CMAKE_COMMAND}" -E copy "${LLDB_SOURCE_DIR}/examples/python/templates/scripted_frame_provider.py" "${CMAKE_CURRENT_BINARY_DIR}/lldb/plugins/"
3132
COMMAND "${CMAKE_COMMAND}" -E copy "${LLDB_SOURCE_DIR}/examples/python/templates/scripted_process.py" "${CMAKE_CURRENT_BINARY_DIR}/lldb/plugins/"
3233
COMMAND "${CMAKE_COMMAND}" -E copy "${LLDB_SOURCE_DIR}/examples/python/templates/scripted_platform.py" "${CMAKE_CURRENT_BINARY_DIR}/lldb/plugins/"
3334
COMMAND "${CMAKE_COMMAND}" -E copy "${LLDB_SOURCE_DIR}/examples/python/templates/operating_system.py" "${CMAKE_CURRENT_BINARY_DIR}/lldb/plugins/"

lldb/docs/python_extensions.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ Operating System Thread Plugins
1414
:skip: ScriptedThread
1515
:no-inheritance-diagram:
1616

17+
Scripted Frame Provider Plugins
18+
-------------------------------
19+
20+
.. automodapi:: lldb.plugins.scripted_frame_provider
21+
:no-heading:
22+
:skip: ABCMeta
23+
:no-inheritance-diagram:
24+
1725
Scripted Process Plugins
1826
-------------------------------
1927

0 commit comments

Comments
 (0)