Redesign call stack image

This commit is contained in:
Théophile Bastian 2019-10-14 20:08:08 +02:00
parent a59dec512e
commit 8dd9195a52
2 changed files with 11 additions and 9 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -127,7 +127,7 @@
\begin{frame}[fragile]{}
\begin{columns}[c]
\begin{column}{0.70\textwidth}
\begin{column}{0.65\textwidth}
\begin{lstlisting}[language=gdb, numbers=none, escapechar=|]
$ ./a.out
Segmentation fault.
@ -154,7 +154,7 @@ Segmentation fault.
\begin{frame}
\begin{columns}[c]
\begin{column}{0.55\textwidth}
\begin{column}{0.65\textwidth}
\begin{center}
\large\bf
How do we get the RA\@?\\Easy, \reg{rbp}!
@ -165,7 +165,7 @@ Segmentation fault.
\end{center}
\end{column}
\begin{column}{0.45\textwidth}
\begin{column}{0.35\textwidth}
\includegraphics[width=0.95\linewidth]{img/call_stack}
\end{column}
\end{columns}
@ -179,6 +179,7 @@ Segmentation fault.
\begin{frame}{DWARF unwinding data}
\vspace{2em}
\tt \footnotesize
\begin{center}
\begin{tabular}{
>{\columncolor{YellowGreen}}l
>{\columncolor{Thistle}}l
@ -197,6 +198,7 @@ Segmentation fault.
0084a1d & rsp+48 & c-56 & c-48 & c-40 & c-32 & c-24 & c-16 & c-8 \\
0084a1e & rsp+40 & c-56 & c-48 & c-40 & c-32 & c-24 & c-16 & c-8 \\
\end{tabular}
\end{center}
\vspace{1em}
\only<1>{\vspace{19mm}}