forked from OSchip/llvm-project
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. llvm-svn: 166297
This commit is contained in:
parent
82d3ab9225
commit
3929249281
|
@ -984,7 +984,7 @@
|
|||
<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>
|
||||
|
|
|
@ -347,7 +347,7 @@ Current breakpoints:
|
|||
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)'
|
||||
|
|
Loading…
Reference in New Issue