GDB Debugger Overview

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

flashcard set

Earn XP

Description and Tags

Flashcards covering key concepts and terminology related to the GDB debugger and debugging processes.

Last updated 5:51 PM on 2/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

15 Terms

1
New cards

GDB

A debugger that allows you to debug programs written in languages such as C and C++.

2
New cards

-g switch

A command-line option for gcc that includes debug information in the executable file.

3
New cards

Breakpoint

A point in the program where the debugger will pause execution, allowing examination of the program state.

4
New cards

Symbol table

A data structure that contains information about the variables and functions used in the program, necessary for debugging.

5
New cards

Run command

In GDB, the command used to start executing your program.

6
New cards

Print command

The GDB command used to display the value of a variable.

7
New cards

Continue command

In GDB, a command that resumes execution of the program until the next breakpoint is reached.

8
New cards

Segmentation fault

An error that occurs when a program tries to access a memory area that is not allocated to it.

9
New cards

Display command

A GDB command that allows you to continuously print the value of a variable each time the program stops.

10
New cards

Step command

A command in GDB that executes the next line of code, stepping into functions.

11
New cards

Next command

A command in GDB that executes the next line, but steps over functions instead of into them.

12
New cards

Quit command

In GDB, a command used to exit the debugger.

13
New cards

IDE

Integrated Development Environment; software that provides comprehensive facilities to programmers for software development.

14
New cards

Debugging

The process of finding and resolving bugs or defects in a program.

15
New cards

Cygwin

A program that allows a Microsoft Windows machine to simulate a Linux environment.