[Lldb-commits] [lldb] r166297 - in /lldb/trunk/www: lldb-gdb.html tutorial.html

Jason Molenda jmolenda at apple.com
Fri Oct 19 12:52:12 PDT 2012


Author: jmolenda
Date: Fri Oct 19 14:52:12 2012
New Revision: 166297

URL: http://llvm.org/viewvc/llvm-project?rev=166297&view=rev
Log:
Remove -w write flag to watch set var from tutorial.html.

Fix one gdb example that had an "(lldb)" prompt in the lldb/gdb page.

Modified:
    lldb/trunk/www/lldb-gdb.html
    lldb/trunk/www/tutorial.html

Modified: lldb/trunk/www/lldb-gdb.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/lldb-gdb.html?rev=166297&r1=166296&r2=166297&view=diff
==============================================================================
--- lldb/trunk/www/lldb-gdb.html (original)
+++ lldb/trunk/www/lldb-gdb.html Fri Oct 19 14:52:12 2012
@@ -946,7 +946,7 @@
                         </td>
                     </tr>
 
-                    <tr><td class="header" colspan="2">Lookup information for a raw address in the executable or any shared libraries.</td></tr>
+                    <tr><td class="header" colspan="2">Look up information for a raw address in the executable or any shared libraries.</td></tr>
                     <tr>
                         <td class="content">
                             <b>(gdb)</b> info symbol 0x1ec4<br>
@@ -957,7 +957,7 @@
                         </td>
                     </tr>
 
-                    <tr><td class="header" colspan="2">Lookup functions matching a regular expression in a binary.</td></tr>
+                    <tr><td class="header" colspan="2">Look up functions matching a regular expression in a binary.</td></tr>
                     <tr>
                         <td class="content">
                             <b>(gdb)</b> info function <FUNC_REGEX><br>
@@ -971,7 +971,7 @@
                         </td>
                     </tr>
 
-                    <tr><td class="header" colspan="2">Lookup information for an address in <b>a.out</a> only.</td></tr>
+                    <tr><td class="header" colspan="2">Look up information for an address in <b>a.out</a> only.</td></tr>
                     <tr>
                         <td class="content">
                         </td>
@@ -981,10 +981,10 @@
                         </td>
                     </tr>
 
-                    <tr><td class="header" colspan="2">Lookup information for for a type <code>Point</code> by name.</td></tr>
+                    <tr><td class="header" colspan="2">Look up information for for a type <code>Point</code> by name.</td></tr>
                     <tr>
                         <td class="content">
-                            <b>(lldb)</b> ptype Point<br>
+                            <b>(gdb)</b> ptype Point<br>
                         </td>
                         <td class="content">
                             <b>(lldb)</b> image lookup --type Point<br>

Modified: lldb/trunk/www/tutorial.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/tutorial.html?rev=166297&r1=166296&r2=166297&view=diff
==============================================================================
--- lldb/trunk/www/tutorial.html (original)
+++ lldb/trunk/www/tutorial.html Fri Oct 19 14:52:12 2012
@@ -347,7 +347,7 @@
                     to see all the commands for watchpoint manipulations.  For instance, we might do the following to watch
                     a variable called 'global' for write operation, but only stop if the condition '(global==5)' is true:</p>
 
-                   <pre><tt>(lldb) watch set var -w write global
+                   <pre><tt>(lldb) watch set var global
 Watchpoint created: Watchpoint 1: addr = 0x100001018 size = 4 state = enabled type = w
     declare @ '/Volumes/data/lldb/svn/ToT/test/functionalities/watchpoint/watchpoint_commands/condition/main.cpp:12'
 (lldb) watch modify -c '(global==5)'





More information about the lldb-commits mailing list