summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2012-10-19 19:52:12 +0000
committerJason Molenda <jmolenda@apple.com>2012-10-19 19:52:12 +0000
commit3929249281bfe2c07a3b02a6ba0e09f2b1be4e90 (patch)
treeed06ab22ffdee4fd9c941ee0109b6be5af0939f2
parent82d3ab922580a2f56ac8d4a5bb389775005c2825 (diff)
downloadbcm5719-llvm-3929249281bfe2c07a3b02a6ba0e09f2b1be4e90.tar.gz
bcm5719-llvm-3929249281bfe2c07a3b02a6ba0e09f2b1be4e90.zip
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
-rwxr-xr-xlldb/www/lldb-gdb.html10
-rwxr-xr-xlldb/www/tutorial.html2
2 files changed, 6 insertions, 6 deletions
diff --git a/lldb/www/lldb-gdb.html b/lldb/www/lldb-gdb.html
index de23e57e1e9..26ec2740793 100755
--- a/lldb/www/lldb-gdb.html
+++ b/lldb/www/lldb-gdb.html
@@ -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 &lt;FUNC_REGEX&gt;<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>
diff --git a/lldb/www/tutorial.html b/lldb/www/tutorial.html
index 4da41384d99..c63c02f05fc 100755
--- a/lldb/www/tutorial.html
+++ b/lldb/www/tutorial.html
@@ -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)'
OpenPOWER on IntegriCloud