@@ -748,7 +748,7 @@ For instance, if the string you are completing is "Test" and the available compl
748748
749749 return {" completion" : " Test1" , " mode" : " partial" }
750750
751- and then lldb will add the "1" at the curson and advance it after the added string,
751+ and then lldb will add the "1" at the cursor and advance it after the added string,
752752waiting for more completions. But if "Test1" is the only completion, return:
753753
754754.. code-block :: python
@@ -933,7 +933,7 @@ that goal:
933933Using the lldb.py module in Python
934934----------------------------------
935935
936- LLDB has all of its core code build into a shared library which gets used by
936+ LLDB has all of its core code built into a shared library which gets used by
937937the `lldb ` command line application. On macOS this shared library is a
938938framework: LLDB.framework and on other unix variants the program is a shared
939939library: lldb.so. LLDB also provides an lldb.py module that contains the
@@ -956,7 +956,7 @@ For sh and bash:
956956
957957 $ export PYTHONPATH=`lldb -P`
958958
959- Alternately , you can append the LLDB Python directory to the sys.path list
959+ Alternatively , you can append the LLDB Python directory to the sys.path list
960960directly in your Python code before importing the lldb module.
961961
962962Now your python scripts are ready to import the lldb module. Below is a python
@@ -1093,11 +1093,11 @@ Writing Target Stop-Hooks in Python
10931093
10941094Stop hooks fire whenever the process stops just before control is returned to the
10951095user. Stop hooks can either be a set of lldb command-line commands, or can
1096- be implemented by a suitably defined Python class. The Python based stop-hooks
1097- can also be passed as set of -key -value pairs when they are added, and those
1096+ be implemented by a suitably defined Python class. The Python- based stop-hooks
1097+ can also be passed as a set of -key -value pairs when they are added, and those
10981098will get packaged up into a SBStructuredData Dictionary and passed to the
10991099constructor of the Python object managing the stop hook. This allows for
1100- parametrization of the stop hooks.
1100+ parameterization of the stop hooks.
11011101
11021102To add a Python-based stop hook, first define a class with the following methods:
11031103
0 commit comments