[bootlin/training-materials updates] master: debugging: slides: fix picture layout (a49a0b11)
Luca Ceresoli
luca.ceresoli at bootlin.com
Thu Feb 23 15:57:07 CET 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/a49a0b1167229c9294c4030ad35ae08db3c653e3
>---------------------------------------------------------------
commit a49a0b1167229c9294c4030ad35ae08db3c653e3
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date: Thu Feb 23 15:47:07 2023 +0100
debugging: slides: fix picture layout
After recent changes this picture is drawn in large part out of the slide
borders.
Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>
>---------------------------------------------------------------
a49a0b1167229c9294c4030ad35ae08db3c653e3
.../debugging-kernel-debugging.tex | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/slides/debugging-kernel-debugging/debugging-kernel-debugging.tex b/slides/debugging-kernel-debugging/debugging-kernel-debugging.tex
index eac128e4..54a04eff 100644
--- a/slides/debugging-kernel-debugging/debugging-kernel-debugging.tex
+++ b/slides/debugging-kernel-debugging/debugging-kernel-debugging.tex
@@ -486,8 +486,10 @@ R13: 0000000000005490 R14: 00000000006ed530 R15: 00007fb5ef0e3700
\item Located in the subdirectory \code{kdmx}
\end{itemize}
\end{itemize}
- \begin{block}{}
- \begin{minted}[fontsize=\tiny]{console}
+ \begin{columns}
+ \column{0.5\textwidth}
+ \begin{block}{}
+ \begin{minted}[fontsize=\tiny]{console}
$ kdmx -n -d -p/dev/ttyACM0 -b115200
serial port: /dev/ttyACM0
Initalizing the serial port to 115200 8n1
@@ -495,9 +497,11 @@ Initalizing the serial port to 115200 8n1
/dev/pts/7 is slave pty for gdb
Use <ctrl>C to terminate program
- \end{minted}
- \end{block}
- \center\includegraphics[height=0.4\textheight]{slides/debugging-kernel-debugging/kdmx.pdf}
+ \end{minted}
+ \end{block}
+ \column{0.5\textwidth}
+ \includegraphics[width=\textwidth]{slides/debugging-kernel-debugging/kdmx.pdf}
+ \end{columns}
\end{frame}
\begin{frame}[fragile]
More information about the training-materials-updates
mailing list