[FE training-materials-updates] labs/buildroot-appdev: add missing step in the debugging section
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Jun 5 15:43:04 CEST 2015
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=d6adbbc7753c75157e41c5750c7803f44e074b25
>---------------------------------------------------------------
commit d6adbbc7753c75157e41c5750c7803f44e074b25
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date: Fri Jun 5 02:13:30 2015 +0200
labs/buildroot-appdev: add missing step in the debugging section
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
>---------------------------------------------------------------
d6adbbc7753c75157e41c5750c7803f44e074b25
labs/buildroot-appdev/buildroot-appdev.tex | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/labs/buildroot-appdev/buildroot-appdev.tex b/labs/buildroot-appdev/buildroot-appdev.tex
index c2d23cc..3712a00 100644
--- a/labs/buildroot-appdev/buildroot-appdev.tex
+++ b/labs/buildroot-appdev/buildroot-appdev.tex
@@ -175,6 +175,12 @@ And then connect to the target:
(gdb) target extended-remote 192.168.0.2:2345
\end{verbatim}
+Define which program we want to run on the target:
+
+\begin{verbatim}
+(gdb) target remote exec-file myapp
+\end{verbatim}
+
Let's put a breakpoint on the \code{main} function, and start the
program:
More information about the training-materials-updates
mailing list