[Lldb-commits] [lldb] r166753 - /lldb/trunk/www/lldb-gdb.html
Jason Molenda
jmolenda at apple.com
Thu Oct 25 21:38:09 PDT 2012
Author: jmolenda
Date: Thu Oct 25 23:38:09 2012
New Revision: 166753
URL: http://llvm.org/viewvc/llvm-project?rev=166753&view=rev
Log:
Document target.source-map as the replacement for gdb's directory command.
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=166753&r1=166752&r2=166753&view=diff
==============================================================================
--- lldb/trunk/www/lldb-gdb.html (original)
+++ lldb/trunk/www/lldb-gdb.html Thu Oct 25 23:38:09 2012
@@ -1071,6 +1071,26 @@
</td>
</tr>
+ <tr><td class="header" colspan="2">Remap source file pathnames for the debug session. If your source files are no longer located in the same location as when the program was built --- maybe the program was built on a different computer --- you need to tell the debugger how to find the sources at their local file path instead of the build system's file path.</td></tr>
+ <tr>
+ <td class="content">
+ <b>(gdb)</b> set pathname-substitutions /buildbot/path /my/path<br>
+ </td>
+ <td class="content">
+ <b>(lldb)</b> settings set target.source-map /buildbot/path /my/path<br>
+ </td>
+ </tr>
+
+ <tr><td class="header" colspan="2">Supply a catchall directory to search for source files in.</td></tr>
+ <tr>
+ <td class="content">
+ <b>(gdb)</b> directory /my/path<br>
+ </td>
+ <td class="content">
+ (<i>No equivalent command yet.)<br>
+ </td>
+ </tr>
+
</table>
<p>
</div>
More information about the lldb-commits
mailing list