[Lldb-commits] [PATCH] D61778: [Docs] Replace SVN revisions with lldb versions

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 9 23:54:52 PDT 2019


kastiglione created this revision.
kastiglione added a reviewer: JDevlieghere.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Replaces references to svn commits with the lldb version number those commits first appeared in. Themotivation is to show that these features are no longer that new and can generally be adopted.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D61778

Files:
  lldb/docs/use/python-reference.rst


Index: lldb/docs/use/python-reference.rst
===================================================================
--- lldb/docs/use/python-reference.rst
+++ lldb/docs/use/python-reference.rst
@@ -494,10 +494,9 @@
       """This command takes a lot of options and does many fancy things"""
       # Your code goes here
 
-Starting with SVN revision 218834, LLDB Python commands can also take an
-SBExecutionContext as an argument. This is useful in cases where the command's
-notion of where to act is independent of the currently-selected entities in the
-debugger.
+Since lldb 3.5.2, LLDB Python commands can also take an SBExecutionContext as an
+argument. This is useful in cases where the command's notion of where to act is
+independent of the currently-selected entities in the debugger.
 
 This feature is enabled if the command-implementing function can be recognized
 as taking 5 arguments, or a variable number of arguments, and it alters the
@@ -519,7 +518,7 @@
 +-------------------+--------------------------------+----------------------------------------------------------------------------------------------------------------------------------+
 | **exe_ctx**       | **lldb.SBExecutionContext**    | An execution context object carrying around information on the inferior process' context in which the command is expected to act |
 |                   |                                |                                                                                                                                  |
-|                   |                                | *Optional since SVN r218834, unavailable before*                                                                                 |
+|                   |                                | *Optional since lldb 3.5.2, unavailable before*                                                                                  |
 +-------------------+--------------------------------+----------------------------------------------------------------------------------------------------------------------------------+
 | **result**        | **lldb.SBCommandReturnObject** | A return object which encapsulates success/failure information for the command and output text                                   |
 |                   |                                | that needs to be printed as a result of the command. The plain Python "print" command also works but                             |
@@ -529,8 +528,8 @@
 |                   |                                | and functions.                                                                                                                   |
 +-------------------+--------------------------------+----------------------------------------------------------------------------------------------------------------------------------+
 
-Starting with SVN revision 232224, Python commands can also be implemented by
-means of a class which should implement the following interface:
+Since lldb 3.7, Python commands can also be implemented by means of a class
+which should implement the following interface:
 
 ::
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61778.198985.patch
Type: text/x-patch
Size: 3140 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190510/d387bfd2/attachment.bin>


More information about the lldb-commits mailing list