This file documents the GNU debugger GDB.
This is the Tenth Edition, of Debugging with GDB: the GNU Source-Level Debugger for GDB (GDB) Version 18.104.22.16801208-git.
Copyright © 1988-2020 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with the Invariant Sections being “Free Software” and “Free Software Needs Free Documentation”, with the Front-Cover Texts being “A GNU Manual,” and with the Back-Cover Texts as in (a) below.
(a) The FSF’s Back-Cover Text is: “You are free to copy and modify this GNU Manual. Buying copies from GNU Press supports the FSF in developing GNU and promoting software freedom.”
This file describes GDB, the GNU symbolic debugger.
This is the Tenth Edition, for GDB (GDB) Version 22.214.171.12401208-git.
Copyright (C) 1988-2020 Free Software Foundation, Inc.
This edition of the GDB manual is dedicated to the memory of Fred Fish. Fred was a long-standing contributor to GDB and to Free software in general. We will miss him.
Summary of GDB
A sample GDB session
Getting in and out of GDB
Running programs under GDB
Stopping and continuing
Running programs backward
Recording inferior’s execution and replaying it
Examining the stack
Examining source files
Debugging optimized code
Debugging remote targets non-intrusively
Debugging programs that use overlays
Using GDB with different languages
Examining the symbol table
• GDB Files:
Specifying a debugging target
Debugging remote programs
GDB Text User Interface
Using GDB under GNU Emacs
GDB’s Machine Interface.
GDB’s annotation interface.
Using the JIT debugging interface.
• GDB Bugs:
Reporting bugs in GDB
Command Line Editing
Using History Interactively
• In Memoriam:
How to format and print GDB documentation
GDB Remote Serial Protocol
The GDB Agent Expression Mechanism
How targets can describe themselves to GDB
Getting additional information from the operating system
GDB trace file format
.gdb_index section format
• Man Pages:
GNU General Public License says how you can copy and share GDB
The license for this documentation
Index of GDB concepts
Index of GDB commands, variables, functions, and Python data types