Skip to content

Commit 159b45b

Browse files
author
git apple-llvm automerger
committed
Merge commit 'ae077140bb79' from apple/main into swift/next
2 parents 33e0502 + ae07714 commit 159b45b

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

lldb/docs/use/python-reference.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -820,18 +820,18 @@ When the program is stopped at the beginning of the 'read' function in libc, we
820820
(lldb) frame variable
821821
(int) fd = 3
822822

823-
Writing Target Stop-Hooks in Python:
824-
------------------------------------
825-
826-
Stop hooks fire whenever the process stops just before control is returned to the
827-
user. Stop hooks can either be a set of lldb command-line commands, or can
828-
be implemented by a suitably defined Python class. The Python based stop-hooks
829-
can also be passed as set of -key -value pairs when they are added, and those
830-
will get packaged up into a SBStructuredData Dictionary and passed to the
831-
constructor of the Python object managing the stop hook. This allows for
832-
parametrization of the stop hooks.
833-
834-
To add a Python-based stop hook, first define a class with the following methods:
823+
Writing Target Stop-Hooks in Python:
824+
------------------------------------
825+
826+
Stop hooks fire whenever the process stops just before control is returned to the
827+
user. Stop hooks can either be a set of lldb command-line commands, or can
828+
be implemented by a suitably defined Python class. The Python based stop-hooks
829+
can also be passed as set of -key -value pairs when they are added, and those
830+
will get packaged up into a SBStructuredData Dictionary and passed to the
831+
constructor of the Python object managing the stop hook. This allows for
832+
parametrization of the stop hooks.
833+
834+
To add a Python-based stop hook, first define a class with the following methods:
835835

836836
+--------------------+---------------------------------------+------------------------------------------------------------------------------------------------------------------+
837837
| Name | Arguments | Description |

0 commit comments

Comments
 (0)