[Lldb-commits] [lldb] 32021ee - Un-indent the section on 'Writing Target Stop-Hooks in Python'
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Fri Oct 16 23:23:55 PDT 2020
Author: Jason Molenda
Date: 2020-10-16T23:23:25-07:00
New Revision: 32021eeff0cd4786722e0dd7c31acf7554c6fd0a
URL: https://github.com/llvm/llvm-project/commit/32021eeff0cd4786722e0dd7c31acf7554c6fd0a
DIFF: https://github.com/llvm/llvm-project/commit/32021eeff0cd4786722e0dd7c31acf7554c6fd0a.diff
LOG: Un-indent the section on 'Writing Target Stop-Hooks in Python'
it was ending up in a code block from the previous section,
instead of being its own section.
Added:
Modified:
lldb/docs/use/python-reference.rst
Removed:
################################################################################
diff --git a/lldb/docs/use/python-reference.rst b/lldb/docs/use/python-reference.rst
index 60474c94f185..92d259b9df30 100644
--- a/lldb/docs/use/python-reference.rst
+++ b/lldb/docs/use/python-reference.rst
@@ -820,18 +820,18 @@ When the program is stopped at the beginning of the 'read' function in libc, we
(lldb) frame variable
(int) fd = 3
- Writing Target Stop-Hooks in Python:
- ------------------------------------
-
- Stop hooks fire whenever the process stops just before control is returned to the
- user. Stop hooks can either be a set of lldb command-line commands, or can
- be implemented by a suitably defined Python class. The Python based stop-hooks
- can also be passed as set of -key -value pairs when they are added, and those
- will get packaged up into a SBStructuredData Dictionary and passed to the
- constructor of the Python object managing the stop hook. This allows for
- parametrization of the stop hooks.
-
- To add a Python-based stop hook, first define a class with the following methods:
+Writing Target Stop-Hooks in Python:
+------------------------------------
+
+Stop hooks fire whenever the process stops just before control is returned to the
+user. Stop hooks can either be a set of lldb command-line commands, or can
+be implemented by a suitably defined Python class. The Python based stop-hooks
+can also be passed as set of -key -value pairs when they are added, and those
+will get packaged up into a SBStructuredData Dictionary and passed to the
+constructor of the Python object managing the stop hook. This allows for
+parametrization of the stop hooks.
+
+To add a Python-based stop hook, first define a class with the following methods:
+--------------------+---------------------------------------+------------------------------------------------------------------------------------------------------------------+
| Name | Arguments | Description |
More information about the lldb-commits
mailing list