About this document
ECE2220Slides (1.3 Intro Debugging) by a02spam9 is a document available to read on EtoBox.
This document provides an introduction to GDB debugging, detailing how to compile programs with debugging information using the -g switch in gcc. It includes examples of debugging commands, the differences in executable sizes with and without debugging symbols, and several GDB command examples for managing breakpoints and inspecting variables. Additionally, it illustrates debugging through sample code snippets and the resulting outputs when using GDB.
- Author
- a02spam9
- Language
- EN