Author: enrico
Date: Fri Oct 21 13:03:55 2016
New Revision: 284847

URL: http://llvm.org/viewvc/llvm-project?rev=284847&view=rev
Log:
I hadn't fixed all the instances of the old marker for scripted format strings; 
do so now


Modified:
    lldb/trunk/www/formats.html

Modified: lldb/trunk/www/formats.html
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/www/formats.html?rev=284847&r1=284846&r2=284847&view=diff
==============================================================================
--- lldb/trunk/www/formats.html (original)
+++ lldb/trunk/www/formats.html Fri Oct 21 13:03:55 2016
@@ -260,8 +260,8 @@
                         that when the thread information is displayed in a 
context where
                         we only want to show thread information, we can do so.
                         
-                                       <p>For both thread and frame formats, 
you can use ${target.script:<i>python_func</i>}, 
${process.script:<i>python_func</i>} and ${thread.script:<i>python_func</i>}
-                                               (and of course 
${frame.script:<i>python_func</i>} for frame formats)<br/>
+                                       <p>For both thread and frame formats, 
you can use ${script.target:<i>python_func</i>}, 
${script.process:<i>python_func</i>} and ${script.thread:<i>python_func</i>}
+                                               (and of course 
${script.frame:<i>python_func</i>} for frame formats)<br/>
                                                In all cases, the signature of 
<i>python_func</i> is expected to be:<br/>
                                                        <p><code>
                                                                def 
<i>python_func</i>(<i>object</i>,unused):<br/>
@@ -273,7 +273,7 @@
                                                def thread_printer_func 
(thread,unused):<br/>
                                                &nbsp;&nbsp;return "Thread %s 
has %d frames\n" % (thread.name, thread.num_frames)<br/></code><p>
                                                        
-                                               And you set it up with 
<code><br/><b>(lldb)</b> settings set thread-format 
"${thread.script:thread_printer_func}"<br/></code>
+                                               And you set it up with 
<code><br/><b>(lldb)</b> settings set thread-format 
"${script.thread:thread_printer_func}"<br/></code>
                                                you would see output like:
                                                </p>
                                                <code>* Thread main has 21 
frames</code>


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to