dev-manual: Did a re-org on the subsections of remote DBG section.
Fixes YOCTO #3540 Realized that a better organization of the sub-sections could be applied. Pulled the last two sections up a level. (From yocto-docs rev: d196db9bf1f88aa0677453396abdd61bf5d724dd) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
a4223949ad
commit
823ab7fc9e
|
@ -4016,41 +4016,41 @@
|
||||||
and the GDB prompt appears.
|
and the GDB prompt appears.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section id='platdev-gdb-connect-to-the-remote-gdb-server'>
|
<section id='platdev-gdb-connect-to-the-remote-gdb-server'>
|
||||||
<title>Connect to the Remote GDB Server</title>
|
<title>Connect to the Remote GDB Server</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
From the target, you need to connect to the remote GDB
|
From the target, you need to connect to the remote GDB
|
||||||
server that is running on the host.
|
server that is running on the host.
|
||||||
You need to specify the remote host and port.
|
You need to specify the remote host and port.
|
||||||
Here is the command continuing with the example:
|
Here is the command continuing with the example:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
target remote 192.168.7.2:2345
|
target remote 192.168.7.2:2345
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="platdev-gdb-remotedebug-launch-gdb-using">
|
<section id="platdev-gdb-remotedebug-launch-gdb-using">
|
||||||
<title>Use the Debugger</title>
|
<title>Use the Debugger</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
You can now proceed with debugging as normal - as if you were debugging
|
You can now proceed with debugging as normal - as if you were debugging
|
||||||
on the local machine.
|
on the local machine.
|
||||||
For example, to instruct GDB to break in the "main" function and then
|
For example, to instruct GDB to break in the "main" function and then
|
||||||
continue with execution of the inferior binary use the following commands
|
continue with execution of the inferior binary use the following commands
|
||||||
from within GDB:
|
from within GDB:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
(gdb) break main
|
(gdb) break main
|
||||||
(gdb) continue
|
(gdb) continue
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
For more information about using GDB, see the project's online documentation at
|
For more information about using GDB, see the project's online documentation at
|
||||||
<ulink url="http://sourceware.org/gdb/download/onlinedocs/"/>.
|
<ulink url="http://sourceware.org/gdb/download/onlinedocs/"/>.
|
||||||
</para>
|
</para>
|
||||||
</section>
|
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue