[FE training-materials-updates] sysdev-application-debugging: remove strip command that causes confusion
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Oct 4 10:48:33 CEST 2013
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=e67a1225fc15d294623a572ccc6c3acb53efcc68
>---------------------------------------------------------------
commit e67a1225fc15d294623a572ccc6c3acb53efcc68
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date: Fri Sep 20 10:50:02 2013 +0200
sysdev-application-debugging: remove strip command that causes confusion
The lab instructions consist in:
*) building the app without debugging symbols, strip it and copy it
to the target. Test strace.
*) rebuild the app with -g to be used by gdb. But at this point, we
were giving a command line to strip the app on the target. This is
causing confusion because it has already been done previously, and
therefore participants think they should strip the app on the host
machine (which they shouldn't, otherwise gdb doesn't work properly
since debugging symbols are lost).
Simply remove this stripping command, which shouldn't be here.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>---------------------------------------------------------------
e67a1225fc15d294623a572ccc6c3acb53efcc68
.../sysdev-application-debugging.tex | 4 ----
1 file changed, 4 deletions(-)
diff --git a/labs/sysdev-application-debugging/sysdev-application-debugging.tex b/labs/sysdev-application-debugging/sysdev-application-debugging.tex
index 67b7ed2..30ee670 100644
--- a/labs/sysdev-application-debugging/sysdev-application-debugging.tex
+++ b/labs/sysdev-application-debugging/sysdev-application-debugging.tex
@@ -106,10 +106,6 @@ Compile \code{vista-emulator.c} again with the \code{-g} option to
include debugging symbols. This time, just keep it on your workstation,
as you already have the version without debugging symbols on your target.
-\begin{verbatim}
-arm-linux-strip path/to/root/filesystem/root/vista-emulator
-\end{verbatim}
-
Then, on the target side, run \code{vista-emulator} under
\code{gdbserver}. gdbserver will listen on a TCP port for a connection
from GDB, and will control the execution of vista-emulator according
More information about the training-materials-updates
mailing list