[Lldb-commits] [lldb] r166238 - /lldb/trunk/www/lldb-gdb.html

Jim Ingham jingham at apple.com
Thu Oct 18 14:54:05 PDT 2012


Author: jingham
Date: Thu Oct 18 16:54:05 2012
New Revision: 166238

URL: http://llvm.org/viewvc/llvm-project?rev=166238&view=rev
Log:
Mention "break set -r" and "break set -p".

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=166238&r1=166237&r2=166238&view=diff
==============================================================================
--- lldb/trunk/www/lldb-gdb.html (original)
+++ lldb/trunk/www/lldb-gdb.html Thu Oct 18 16:54:05 2012
@@ -311,6 +311,30 @@
                             <b>(lldb)</b> br s -S count<br>
                         </td>
                     </tr>
+                    <tr><td class="header" colspan="2">Set a breakpoint by regular expression on function name.</td></tr>
+
+                    <tr>
+                        <td class="content">
+                            <b>(gdb)</b> rbreak regular-expression<br>
+                        </td>
+                        <td class="content">
+                            <b>(lldb)</b> breakpoint set --regex regular-expression<br>
+                            <b>(lldb)</b> br s -r regular-expression<br>
+                        </td>
+                    </tr>
+
+                    <tr><td class="header" colspan="2">Set a breakpoint by regular expression on source file contents.</td></tr>
+
+                    <tr>
+                        <td class="content">
+                            <b>(gdb)</b> shell grep -e -n pattern source-file<br>
+                            <b>(gdb)</b> break source-file:CopyLineNumbers<br>
+                        </td>
+                        <td class="content">
+                            <b>(lldb)</b> breakpoint set --source-pattern regular-expression --file SourceFile<br>
+                            <b>(lldb)</b> br s -p regular-expression -f file<br>
+                        </td>
+                    </tr>
 
                     <tr><td class="header" colspan="2">List all breakpoints.</td></tr>
                     <tr>





More information about the lldb-commits mailing list