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

Jason Molenda jmolenda at apple.com
Wed Sep 26 15:42:25 PDT 2012


Author: jmolenda
Date: Wed Sep 26 17:42:25 2012
New Revision: 164730

URL: http://llvm.org/viewvc/llvm-project?rev=164730&view=rev
Log:
Add examples of using the kdp-remote and gdb-remote commands to connect to
gdb-remote protocol and kdp protocol systems.

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=164730&r1=164729&r2=164730&view=diff
==============================================================================
--- lldb/trunk/www/lldb-gdb.html (original)
+++ lldb/trunk/www/lldb-gdb.html Wed Sep 26 17:42:25 2012
@@ -129,6 +129,36 @@
                         </td>
                     </tr>
 
+                    <tr><td class="header" colspan="2">Attach to a remote gdb protocol server running on system "eorgadd", port 8000.</td></tr>
+                    <tr>
+                        <td class="content">
+                            <b>(lldb)</b> gdb-remote eorgadd:8000
+                        </td>
+                        <td class="content">
+                            <b>(gdb)</b> target remote eorgadd:8000
+                        </td>
+                    </tr>
+
+                    <tr><td class="header" colspan="2">Attach to a remote gdb protocol server running on the local system, port 8000.</td></tr>
+                    <tr>
+                        <td class="content">
+                            <b>(lldb)</b> gdb-remote 8000
+                        </td>
+                        <td class="content">
+                            <b>(gdb)</b> target remote localhost:8000
+                        </td>
+                    </tr>
+
+                    <tr><td class="header" colspan="2">Attach to a Darwin kernel in kdp mode on system "eorgadd".</td></tr>
+                    <tr>
+                        <td class="content">
+                            <b>(lldb)</b> kdp-remote eorgadd
+                        </td>
+                        <td class="content">
+                            <b>(gdb)</b> kdp-reattach eorgadd
+                        </td>
+                    </tr>
+
                     <tr><td class="header" colspan="2">Do a source level single step in the currently selected thread.</td></tr>
                     <tr>
                         <td class="content">





More information about the lldb-commits mailing list