Add examples of using the kdp-remote and gdb-remote commands to connect to
authorJason Molenda <jmolenda@apple.com>
Wed, 26 Sep 2012 22:42:25 +0000 (22:42 +0000)
committerJason Molenda <jmolenda@apple.com>
Wed, 26 Sep 2012 22:42:25 +0000 (22:42 +0000)
gdb-remote protocol and kdp protocol systems.

llvm-svn: 164730

lldb/www/lldb-gdb.html

index bd99615..ccca2a0 100755 (executable)
                         </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">