Document target.source-map as the replacement for gdb's directory command.
authorJason Molenda <jmolenda@apple.com>
Fri, 26 Oct 2012 04:38:09 +0000 (04:38 +0000)
committerJason Molenda <jmolenda@apple.com>
Fri, 26 Oct 2012 04:38:09 +0000 (04:38 +0000)
llvm-svn: 166753

lldb/www/lldb-gdb.html

index 6741394..ee4c470 100755 (executable)
                         </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>