[bootlin/training-materials updates] master: debugging: labs: fix paths for the kgdb lab (87d88119)

Luca Ceresoli luca.ceresoli at bootlin.com
Fri Mar 24 19:29:50 CET 2023


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

>---------------------------------------------------------------

commit 87d881195373b98fbd8bfbe1a94dcec15d52fa72
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Fri Mar 24 19:28:09 2023 +0100

    debugging: labs: fix paths for the kgdb lab
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


>---------------------------------------------------------------

87d881195373b98fbd8bfbe1a94dcec15d52fa72
 labs/debugging-kernel-debugging/debugging-kernel-debugging.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex b/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex
index 82cd0bba..90ea71e8 100644
--- a/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex
+++ b/labs/debugging-kernel-debugging/debugging-kernel-debugging.tex
@@ -260,7 +260,7 @@ order to test that feature, we are going to compile a test module and break on
 it.
 
 \begin{bashinput}
-$ cd /root/kgdb
+$ cd /home/$USER/debugging-labs/nfsroot/root/kgdb
 $ export CROSS_COMPILE=/home/$USER/debugging-labs/buildroot/output/host/bin/arm-linux-
 $ export ARCH=arm
 $ export KDIR=/home/$USER/debugging-labs/buildroot/output/build/linux-5.13/
@@ -269,7 +269,7 @@ $ make
 
 Then on the target, insert the module using insmod:
 \begin{bashinput}
-# cd /root/kgdb_test
+# cd /root/kgdb
 # insmod kgdb_test.ko
 \end{bashinput}
 




More information about the training-materials-updates mailing list