Author: enrico
Date: Fri Feb 7 15:30:02 2014
New Revision: 200995
URL: http://llvm.org/viewvc/llvm-project?rev=200995&view=rev
Log:
Add conditional breakpoints to our cheat sheet
Modified:
lldb/trunk/www/lldb-gdb.html
Modified: lldb/trunk/www/lldb-gdb.html
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/www/lldb-gdb.html?rev=200995&r1=200994&r2=200995&view=diff
==============================================================================
--- lldb/trunk/www/lldb-gdb.html (original)
+++ lldb/trunk/www/lldb-gdb.html Fri Feb 7 15:30:02 2014
@@ -419,6 +419,18 @@
</td>
</tr>
+ <tr><td class="header" colspan="2">Set a conditional
breakpoint</td></tr>
+
+ <tr>
+ <td class="content">
+ <b>(gdb)</b> break foo if
strcmp(y,"hello") == 0<br>
+ </td>
+ <td class="content">
+ <b>(lldb)</b> breakpoint set --name foo
--condition '(int)strcmp(y,"hello") == 0'<br>
+ <b>(lldb)</b> br s -n foo -c
'(int)strcmp(y,"hello") == 0'<br>
+ </td>
+ </tr>
+
<tr><td class="header" colspan="2">List all
breakpoints.</td></tr>
<tr>
<td class="content">
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits