summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2017-05-01 17:50:10 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-10 12:13:32 +0100
commitd815dfbea379b427bdad10f6f8cdaf6a3d484306 (patch)
tree3b8402f4d9f6d38cc10a928715a5f0e55b2a714b /documentation
parentcbea3d8b6b1964fc3e6b4f6d30123300863d7237 (diff)
downloadopenembedded-core-contrib-d815dfbea379b427bdad10f6f8cdaf6a3d484306.tar.gz
dev-manual: Cleaned up "Gdbserver" term
This should be "gdbserver" when referred to generically. (From yocto-docs rev: 83b2be50e34b0c07cce1f27b55e595752b80b3ea) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml32
1 files changed, 16 insertions, 16 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 15530b2fcd..d63df4d1c4 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -10665,16 +10665,16 @@
</para>
<para>
- To help get past the previously mentioned constraints, you can use Gdbserver.
- Gdbserver runs on the remote target and does not load any debugging information
- from the debugged process.
+ To help get past the previously mentioned constraints, you can use
+ gdbserver, which runs on the remote target and does not load any
+ debugging information from the debugged process.
Instead, a GDB instance processes the debugging information that is run on a
remote computer - the host GDB.
- The host GDB then sends control commands to Gdbserver to make it stop or start the debugged
+ The host GDB then sends control commands to gdbserver to make it stop or start the debugged
program, as well as read or write memory regions of that debugged program.
All the debugging information loaded and processed as well
as all the heavy debugging is done by the host GDB.
- Offloading these processes gives the Gdbserver running on the target a chance to remain
+ Offloading these processes gives the gdbserver running on the target a chance to remain
small and fast.
</para>
@@ -10685,7 +10685,7 @@
with their debugging information and also be sure the target is compiled with no optimizations.
The host GDB must also have local access to all the libraries used by the
debugged program.
- Because Gdbserver does not need any local debugging information, the binaries on
+ Because gdbserver does not need any local debugging information, the binaries on
the remote target can remain stripped.
However, the binaries must also be compiled without optimization
so they match the host's binaries.
@@ -10728,7 +10728,7 @@
the partial filesystem with the full filesystem.
</para></listitem>
<listitem><para>
- <emphasis>Configure the system to include Gdbserver in
+ <emphasis>Configure the system to include gdbserver in
the target filesystem:</emphasis></para>
<para>Make the following addition in either your
@@ -10825,18 +10825,18 @@
<listitem><para>
<emphasis>Debug a program:</emphasis></para>
- <para>Debugging a program involves running Gdbserver
+ <para>Debugging a program involves running gdbserver
on the target and then running Gdb on the host.
The example in this step debugs
<filename>gzip</filename>:
<literallayout class='monospaced'>
root@qemux86:~# gdbserver localhost:1234 /bin/gzip —help
</literallayout>
- For additional Gdbserver options, see the
- <ulink url='https://www.gnu.org/software/gdb/documentation/'>Gdb Server Documentation</ulink>.
+ For additional gdbserver options, see the
+ <ulink url='https://www.gnu.org/software/gdb/documentation/'>GDB Server Documentation</ulink>.
</para>
- <para>After running Gdbserver on the target, you need
+ <para>After running gdbserver on the target, you need
to run Gdb on the host and configure it and connect to
the target.
Use these commands:
@@ -10906,10 +10906,10 @@
</section>
<section id="platdev-gdb-remotedebug-launch-gdbserver">
- <title>Launch Gdbserver on the Target</title>
+ <title>Launch gdbserver on the Target</title>
<para>
- Make sure Gdbserver is installed on the target.
+ Make sure gdbserver is installed on the target.
If it is not, install the package
<filename>gdbserver</filename>, which needs the
<filename>libthread-db1</filename> package.
@@ -10917,15 +10917,15 @@
<para>
Here is an example, that when entered from the host,
- connects to the target and launches Gdbserver in order to
+ connects to the target and launches gdbserver in order to
"debug" a binary named <filename>helloworld</filename>:
<literallayout class='monospaced'>
$ gdbserver localhost:2345 /usr/bin/helloworld
</literallayout>
- Gdbserver should now be listening on port 2345 for debugging
+ gdbserver should now be listening on port 2345 for debugging
commands coming from a remote GDB process that is running on
the host computer.
- Communication between Gdbserver and the host GDB are done
+ Communication between gdbserver and the host GDB are done
using TCP.
To use other communication protocols, please refer to the
<ulink url='http://www.gnu.org/software/gdb/'>Gdbserver documentation</ulink>.