
In this article, we won’t go into too much detail about the commands and how GDB works. This feature is essential for us, as it is ideal for debugging embedded systems. In addition, it has a remote operating mode that allows us to run our program on a different system than the one running GDB.

Like most software created for UNIX environments, it runs out of the command terminal. It allows us to do things like pausing the program’s execution under certain circumstances, displaying the state of local and global variables, following the path of functions in the stack, simulating execution conditions, etc.

GDB is one of the most widely used debuggers for programs developed in languages such as Assembler, Fortran, Pascal, Rust, C, and C++, among others. It’s developed for Unix-like environments and allows us to analyze what happens inside programs during their execution.

The GNU Project Debugger (GDB) is a tool created in 1986 by one of the most influential advocates for free code, Richard Stallman.
