[bootlin/training-materials updates] master: debugging: remove coredump slide which is already explained in gdb section (b163b8b9)
Clément Léger
clement.leger at bootlin.com
Wed Nov 16 09:43:05 CET 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/b163b8b9d535d97754f2f69475515daadfe4e58b
>---------------------------------------------------------------
commit b163b8b9d535d97754f2f69475515daadfe4e58b
Author: Clément Léger <clement.leger at bootlin.com>
Date: Wed Nov 16 09:21:49 2022 +0100
debugging: remove coredump slide which is already explained in gdb section
Signed-off-by: Clément Léger <clement.leger at bootlin.com>
>---------------------------------------------------------------
b163b8b9d535d97754f2f69475515daadfe4e58b
.../debugging-memory-issues.tex | 30 ----------------------
1 file changed, 30 deletions(-)
diff --git a/slides/debugging-memory-issues/debugging-memory-issues.tex b/slides/debugging-memory-issues/debugging-memory-issues.tex
index 1c419bec..1fd85d31 100644
--- a/slides/debugging-memory-issues/debugging-memory-issues.tex
+++ b/slides/debugging-memory-issues/debugging-memory-issues.tex
@@ -51,36 +51,6 @@ Segmentation fault
\end{block}
\end{frame}
-\begin{frame}[fragile]
- \frametitle{coredumps}
- \begin{itemize}
- \item a \code{coredump} is a file containing a snapshot of a process resources
- (memory, registers, etc) allowing to debug it post mortem.
- \item Upon segmentation fault, coredumps can be generated by the kernel
- automatically if correctly configured
- \end{itemize}
-
- \begin{block}{}
- \begin{minted}[fontsize=\small]{console}
-$ ulimit -c unlimited
- \end{minted}
- \end{block}
-
- \begin{itemize}
- \item The segfault message will be a bit different (\code{Segmentation
- fault (core dumped)}) and a {\em core} file will be generated in the
- current directory
- \item The output name for the coredump file can be modified using
- \code{/proc/sys/kernel/core_pattern}.
- \end{itemize}
-
-\begin{block}{}
- \begin{minted}[fontsize=\small]{console}
-# echo "core-%e-%p" > /proc/sys/kernel/core_pattern
- \end{minted}
-\end{block}
-\end{frame}
-
\begin{frame}[fragile]
\frametitle{Buffer Overflow}
\begin{itemize}
More information about the training-materials-updates
mailing list