[bootlin/training-materials updates] master: slides/buildroot-appdev: add one more gdb command (eef5eadf)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Dec 10 21:43:07 CET 2021

Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/eef5eadfb6613087d19d0679e1be1891604082a3


commit eef5eadfb6613087d19d0679e1be1891604082a3
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date:   Fri Dec 10 21:43:07 2021 +0100

    slides/buildroot-appdev: add one more gdb command
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>


 slides/buildroot-appdev/buildroot-appdev.tex | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/slides/buildroot-appdev/buildroot-appdev.tex b/slides/buildroot-appdev/buildroot-appdev.tex
index 6d3d38be..f3768395 100644
--- a/slides/buildroot-appdev/buildroot-appdev.tex
+++ b/slides/buildroot-appdev/buildroot-appdev.tex
@@ -387,6 +387,8 @@ LINUX_OVERRIDE_SRCDIR = $(HOME)/projects/linux
     \item Connect to the target:\\
       \code{(gdb) target extended-remote <ip>:2345}
+    \item Tell the target which program to run:\\
+      \code{(gdb) set remote exec-file myapp}
     \item Set the path to the {\em sysroot} so that {\em gdb} can find debugging symbols for libraries:\\
       \code{(gdb) set sysroot ./output/staging/}
     \item Start the program:\\

More information about the training-materials-updates mailing list