summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2013-04-18 22:03:01 +0000
committerJim Ingham <jingham@apple.com>2013-04-18 22:03:01 +0000
commit526560a5531c29f0083fe2d6b099671b8cdee8f0 (patch)
treec316393c1b3f0e890f222413ed3a4d11321e1143
parente0c64e15a4b3349dbab5b35e1f1bbbd8a03a8a0d (diff)
downloadbcm5719-llvm-526560a5531c29f0083fe2d6b099671b8cdee8f0.tar.gz
bcm5719-llvm-526560a5531c29f0083fe2d6b099671b8cdee8f0.zip
Document how to get "info line" information from "image lookup -v".
llvm-svn: 179800
-rwxr-xr-xlldb/www/lldb-gdb.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/lldb/www/lldb-gdb.html b/lldb/www/lldb-gdb.html
index 3bac562cc1d..8e58a9a822f 100755
--- a/lldb/www/lldb-gdb.html
+++ b/lldb/www/lldb-gdb.html
@@ -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 &lt;FUNC_REGEX&gt;<br>
+ </td>
+ <td class="content">
+ This one finds debug symbols:<br>
+ <b>(lldb)</b> image lookup -r -n &lt;FUNC_REGEX&gt;<br><br>
+ This one finds non-debug symbols:<br>
+ <b>(lldb)</b> image lookup -r -s &lt;FUNC_REGEX&gt;<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">
OpenPOWER on IntegriCloud