[Lldb-commits] [lldb] r179800 - Document how to get "info line" information from "image lookup -v".

Jim Ingham jingham at apple.com
Thu Apr 18 15:03:01 PDT 2013


Author: jingham
Date: Thu Apr 18 17:03:01 2013
New Revision: 179800

URL: http://llvm.org/viewvc/llvm-project?rev=179800&view=rev
Log:
Document how to get "info line" information from "image lookup -v".

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=179800&r1=179799&r2=179800&view=diff
==============================================================================
--- lldb/trunk/www/lldb-gdb.html (original)
+++ lldb/trunk/www/lldb-gdb.html Thu Apr 18 17:03:01 2013
@@ -1103,6 +1103,33 @@
                         </td>
                     </tr>
 
+                    <tr><td class="header" colspan="2">Find full souce line information.</td></tr>
+                    <tr>
+                        <td class="content">
+                            <b>(gdb)</b> info line 0x1ec4<br>
+                        </td>
+                        <td class="content">
+                          This one is a bit messy at present.  Do:<br><br>
+                            <b>(lldb)</b> image lookup -v --address 0x1ec4<br><br>
+                          and look for the LineEntry line, which will have the full source path and
+                          line range information.<br>
+                        </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 <FUNC_REGEX><br>
+                        </td>
+                        <td class="content">
+                            This one finds debug symbols:<br>
+                            <b>(lldb)</b> image lookup -r -n <FUNC_REGEX><br><br>
+                            This one finds non-debug symbols:<br>
+                            <b>(lldb)</b> image lookup -r -s <FUNC_REGEX><br><br>
+                            Provide a list of binaries as arguments to limit the search.
+                        </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">





More information about the lldb-commits mailing list