[bootlin/training-materials updates] master: gdb: rename slide to mention coredump clearly and add core pattern file (efe40235)

Clément Léger clement.leger at bootlin.com
Wed Nov 16 09:43:06 CET 2022


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

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

commit efe40235f80933df2479da3b5fcce31cb5eaab21
Author: Clément Léger <clement.leger at bootlin.com>
Date:   Wed Nov 16 09:21:15 2022 +0100

    gdb: rename slide to mention coredump clearly and add core pattern file
    
    Signed-off-by: Clément Léger <clement.leger at bootlin.com>


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

efe40235f80933df2479da3b5fcce31cb5eaab21
 common/gdb.tex | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/common/gdb.tex b/common/gdb.tex
index 466ce19d..9c6d1b94 100644
--- a/common/gdb.tex
+++ b/common/gdb.tex
@@ -135,7 +135,7 @@
 \end{frame}
 
 \begin{frame}
-  \frametitle{Post mortem analysis}
+  \frametitle{Coredumps for post mortem analysis}
   \begin{itemize}
   \item When an application crashes due to a {\em segmentation fault}
     and the application was not under control of a debugger, we get no
@@ -147,8 +147,10 @@
   \item On the target
     \begin{itemize}
     \item Use \code{ulimit -c unlimited} in the shell starting the
-    application, to enable the generation of a \code{core} file
-    when a crash occurs
+      application, to enable the generation of a \code{core} file
+      when a crash occurs
+    \item The output name for the coredump file can be modified using
+      \code{/proc/sys/kernel/core_pattern}.
     \end{itemize}
   \item On the host
     \begin{itemize}




More information about the training-materials-updates mailing list