Improve shortened examples of the watchpoint commands.
authorJason Molenda <jmolenda@apple.com>
Fri, 5 Oct 2012 20:25:53 +0000 (20:25 +0000)
committerJason Molenda <jmolenda@apple.com>
Fri, 5 Oct 2012 20:25:53 +0000 (20:25 +0000)
Document "f <n>" selects frame n.
"t <n>" selects thread n but this was just added to TOT
so most people won't have access to an lldb that accepts it.

llvm-svn: 165332

lldb/www/lldb-gdb.html

index 3d103e3..283e41b 100755 (executable)
                             <b>(gdb)</b> watch global_var
                         </td>
                         <td class="content">
-                            <b>(lldb)</b> watchpoint set variable -w write global_var<br>
-                            <b>(lldb)</b> watch set var -w write global_var<br>
+                            <b>(lldb)</b> watchpoint set variable global_var<br>
+                            <b>(lldb)</b> wa s v global_var<br>
                         </td>
                     </tr>
 
                         </td>
                         <td class="content">
                             <b>(lldb)</b> watchpoint set expression -w write -- my_ptr<br>
-                            <b>(lldb)</b> watch set exp -w write -- my_ptr<br>
+                            <b>(lldb)</b> wa s e -- my_ptr<br>
                       </td>
                     </tr>
 
                         </td>
                         <td class="content">
                             <b>(lldb)</b> frame variable<br>
+                            <b>(lldb)</b> fr v<br>
                         </td>
                     </tr>
 
                         </td>
                         <td class="content">
                             <b>(lldb)</b> frame select 12<br>
+                            <b>(lldb)</b> fr s 12<br>
+                            <b>(lldb)</b> f 12<br>
                         </td>
                     </tr>