Updated the "breakpoint command add" documentation and fixed the web site docs for the signature of the python breakpoint callback functions.



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@166789 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/www/python-reference.html b/www/python-reference.html
index e1d7f9d..007ac7e 100755
--- a/www/python-reference.html
+++ b/www/python-reference.html
@@ -213,9 +213,9 @@
                     scripts to breakpoints provides a way to create complex breakpoint

                     conditions and also allows for smart logging and data gathering.</p>

                 <p>When your process hits a breakpoint to which you have attached some python code, the code is executed as the

-                   body of a function which takes two arguments:</p>

+                   body of a function which takes three arguments:</p>

                     <p>

-<code><pre><tt>def breakpoint_function_wrapper(<b>frame</b>, <b>bp_loc</b>):

+<code><pre><tt>def breakpoint_function_wrapper(<b>frame</b>, <b>bp_loc</b>, <b>dict</b>):

   <font color=green># Your code goes here</font>

 </tt></pre></code>

                     <p><table class="stats" width="620" cellspacing="0">

@@ -251,6 +251,17 @@
                             are represented by <b>lldb.SBBreakpointLocation</b> objects.

                         </td>

                     </tr>

+                    <tr>

+                        <td class="content">

+                            <b>dict</b>

+                        </td>

+                        <td class="content">

+                            <b>dict</b>

+                        </td>

+                        <td class="content">

+                            The python session dictionary as a standard python dictionary object.

+                        </td>

+                    </tr>

                     </table>

              <p>An example will show how simple it is to write some python code and attach it to a breakpoint. 

                 The following example will allow you to track the order in which the functions in a given shared library