Skip to content

Commit 4e8570b

Browse files
committed
Add examples of using the kdp-remote and gdb-remote commands to connect to
gdb-remote protocol and kdp protocol systems. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164730 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent c375043 commit 4e8570b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

www/lldb-gdb.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,36 @@ <h1 class ="postheader">Execution Commands</h1>
129129
</td>
130130
</tr>
131131

132+
<tr><td class="header" colspan="2">Attach to a remote gdb protocol server running on system "eorgadd", port 8000.</td></tr>
133+
<tr>
134+
<td class="content">
135+
<b>(lldb)</b> gdb-remote eorgadd:8000
136+
</td>
137+
<td class="content">
138+
<b>(gdb)</b> target remote eorgadd:8000
139+
</td>
140+
</tr>
141+
142+
<tr><td class="header" colspan="2">Attach to a remote gdb protocol server running on the local system, port 8000.</td></tr>
143+
<tr>
144+
<td class="content">
145+
<b>(lldb)</b> gdb-remote 8000
146+
</td>
147+
<td class="content">
148+
<b>(gdb)</b> target remote localhost:8000
149+
</td>
150+
</tr>
151+
152+
<tr><td class="header" colspan="2">Attach to a Darwin kernel in kdp mode on system "eorgadd".</td></tr>
153+
<tr>
154+
<td class="content">
155+
<b>(lldb)</b> kdp-remote eorgadd
156+
</td>
157+
<td class="content">
158+
<b>(gdb)</b> kdp-reattach eorgadd
159+
</td>
160+
</tr>
161+
132162
<tr><td class="header" colspan="2">Do a source level single step in the currently selected thread.</td></tr>
133163
<tr>
134164
<td class="content">

0 commit comments

Comments
 (0)