Remove -w write flag to watch set var from tutorial.html.
authorJason Molenda <jmolenda@apple.com>
Fri, 19 Oct 2012 19:52:12 +0000 (19:52 +0000)
committerJason Molenda <jmolenda@apple.com>
Fri, 19 Oct 2012 19:52:12 +0000 (19:52 +0000)
Fix one gdb example that had an "(lldb)" prompt in the lldb/gdb page.

llvm-svn: 166297

lldb/www/lldb-gdb.html
lldb/www/tutorial.html

index de23e57..26ec274 100755 (executable)
                         </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>
                         </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 &lt;FUNC_REGEX&gt;<br>
                         </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>
                         </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>
index 4da4138..c63c02f 100755 (executable)
@@ -347,7 +347,7 @@ Current breakpoints:
                     to see all the commands for watchpoint manipulations.  For instance, we might do the following to watch\r
                     a variable called 'global' for write operation, but only stop if the condition '(global==5)' is true:</p>\r
 \r
-                   <pre><tt>(lldb) watch set var -w write global\r
+                   <pre><tt>(lldb) watch set var global\r
 Watchpoint created: Watchpoint 1: addr = 0x100001018 size = 4 state = enabled type = w\r
     declare @ '/Volumes/data/lldb/svn/ToT/test/functionalities/watchpoint/watchpoint_commands/condition/main.cpp:12'\r
 (lldb) watch modify -c '(global==5)'\r