From 3929249281bfe2c07a3b02a6ba0e09f2b1be4e90 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Fri, 19 Oct 2012 19:52:12 +0000 Subject: [PATCH] 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 --- lldb/www/lldb-gdb.html | 10 +++++----- lldb/www/tutorial.html | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lldb/www/lldb-gdb.html b/lldb/www/lldb-gdb.html index de23e57e1e90..26ec27407934 100755 --- a/lldb/www/lldb-gdb.html +++ b/lldb/www/lldb-gdb.html @@ -946,7 +946,7 @@ - Lookup information for a raw address in the executable or any shared libraries. + Look up information for a raw address in the executable or any shared libraries. (gdb) info symbol 0x1ec4
@@ -957,7 +957,7 @@ - Lookup functions matching a regular expression in a binary. + Look up functions matching a regular expression in a binary. (gdb) info function <FUNC_REGEX>
@@ -971,7 +971,7 @@ - Lookup information for an address in a.out only. + Look up information for an address in a.out only. @@ -981,10 +981,10 @@ - Lookup information for for a type Point by name. + Look up information for for a type Point by name. - (lldb) ptype Point
+ (gdb) ptype Point
(lldb) image lookup --type Point
diff --git a/lldb/www/tutorial.html b/lldb/www/tutorial.html index 4da41384d991..c63c02f05fc5 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:

-
(lldb) watch set var -w write global
+                   
(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)'