Skip to content

Commit

Permalink
debugging: slides: debug info is generated by gcc not gdb
Browse files Browse the repository at this point in the history
Fix: debug info is generated by the compiler not the debugger itself.

Signed-off-by: Nasser Afshin <[email protected]>
Reviewed-by: Michael Opdenacker <[email protected]>
  • Loading branch information
nasafix-nasser authored and Michael Opdenacker committed Jan 11, 2024
1 parent 65fd179 commit 0f7cb34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ \subsection{Building with debug information}
\item Debugging information uses the DWARF format
\item Allows the debugger to match addresses and symbol names, call
sites, etc
\item Debugging information is generated by GDB and included in the
\item Debugging information is generated by the compiler and included in the
ELF file when compiled with \code{-g}
\begin{itemize}
\item \code{-g1}: minimal debug information (enough for backtraces)
Expand Down

0 comments on commit 0f7cb34

Please sign in to comment.