diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-04-10 10:10:23 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-11 12:22:30 +0100 |
commit | 823ab7fc9e7bf75a39cc2823cfb017e04fac5c28 (patch) | |
tree | 8a956215cd8cb0c59e9bd3bff328bf0e52007dd9 /documentation | |
parent | a4223949ad923ddac144841a255d511df497a966 (diff) | |
download | poky-823ab7fc9e7bf75a39cc2823cfb017e04fac5c28.tar.gz |
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>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 8684851dcc..c509d12c54 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -4016,41 +4016,41 @@ | |||
4016 | and the GDB prompt appears. | 4016 | and the GDB prompt appears. |
4017 | </para> | 4017 | </para> |
4018 | </section> | 4018 | </section> |
4019 | </section> | ||
4019 | 4020 | ||
4020 | <section id='platdev-gdb-connect-to-the-remote-gdb-server'> | 4021 | <section id='platdev-gdb-connect-to-the-remote-gdb-server'> |
4021 | <title>Connect to the Remote GDB Server</title> | 4022 | <title>Connect to the Remote GDB Server</title> |
4022 | 4023 | ||
4023 | <para> | 4024 | <para> |
4024 | From the target, you need to connect to the remote GDB | 4025 | From the target, you need to connect to the remote GDB |
4025 | server that is running on the host. | 4026 | server that is running on the host. |
4026 | You need to specify the remote host and port. | 4027 | You need to specify the remote host and port. |
4027 | Here is the command continuing with the example: | 4028 | Here is the command continuing with the example: |
4028 | <literallayout class='monospaced'> | 4029 | <literallayout class='monospaced'> |
4029 | target remote 192.168.7.2:2345 | 4030 | target remote 192.168.7.2:2345 |
4030 | </literallayout> | 4031 | </literallayout> |
4031 | </para> | 4032 | </para> |
4032 | </section> | 4033 | </section> |
4033 | 4034 | ||
4034 | <section id="platdev-gdb-remotedebug-launch-gdb-using"> | 4035 | <section id="platdev-gdb-remotedebug-launch-gdb-using"> |
4035 | <title>Use the Debugger</title> | 4036 | <title>Use the Debugger</title> |
4036 | 4037 | ||
4037 | <para> | 4038 | <para> |
4038 | You can now proceed with debugging as normal - as if you were debugging | 4039 | You can now proceed with debugging as normal - as if you were debugging |
4039 | on the local machine. | 4040 | on the local machine. |
4040 | For example, to instruct GDB to break in the "main" function and then | 4041 | For example, to instruct GDB to break in the "main" function and then |
4041 | continue with execution of the inferior binary use the following commands | 4042 | continue with execution of the inferior binary use the following commands |
4042 | from within GDB: | 4043 | from within GDB: |
4043 | <literallayout class='monospaced'> | 4044 | <literallayout class='monospaced'> |
4044 | (gdb) break main | 4045 | (gdb) break main |
4045 | (gdb) continue | 4046 | (gdb) continue |
4046 | </literallayout> | 4047 | </literallayout> |
4047 | </para> | 4048 | </para> |
4048 | 4049 | ||
4049 | <para> | 4050 | <para> |
4050 | For more information about using GDB, see the project's online documentation at | 4051 | For more information about using GDB, see the project's online documentation at |
4051 | <ulink url="http://sourceware.org/gdb/download/onlinedocs/"/>. | 4052 | <ulink url="http://sourceware.org/gdb/download/onlinedocs/"/>. |
4052 | </para> | 4053 | </para> |
4053 | </section> | ||
4054 | </section> | 4054 | </section> |
4055 | </section> | 4055 | </section> |
4056 | 4056 | ||