[bootlin/training-materials updates] master: common: gdb: mention <args> can be passed to gdb after <program> (eefd2322)

Luca Ceresoli luca.ceresoli at bootlin.com
Wed Nov 15 18:51:36 CET 2023


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

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

commit eefd2322370d1319d2d2e9fd014a306d46c70502
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Wed Nov 15 18:40:25 2023 +0100

    common: gdb: mention <args> can be passed to gdb after <program>
    
    As we do everywhere else in examples.
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


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

eefd2322370d1319d2d2e9fd014a306d46c70502
 common/gdb.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/gdb.tex b/common/gdb.tex
index 4cd1714b..4ecc386e 100644
--- a/common/gdb.tex
+++ b/common/gdb.tex
@@ -32,7 +32,7 @@
   \begin{itemize}
     \item GDB is used mainly to debug a process by starting it with {\em gdb}
     \begin{itemize}
-      \item \code{$ gdb <program>}
+      \item \code{$ gdb <program> <args>}
     \end{itemize}
     \item GDB can also be attached to running processes using the program PID
     \begin{itemize}




More information about the training-materials-updates mailing list