GDBINIT(5)
π NAME π
gdbinit β GDB initialization scripts. This is the GDBINIT(5) page from GNU Development Tools, bestie, and it's literally all about the startup files that hold GDB commands. Slay. Periodt. π
β¨ SYNOPSIS β¨
~/.config/gdb/gdbinit
~/.gdbinit
./.gdbinit
π¦ DESCRIPTION π¦
Okay so these files contain GDB commands to automatically execute during GDB startup. The lines of contents are canned sequences of commands, described in the GDB manual in node "Sequences" β shell command info -f gdb -n Sequences.
Please read more in the GDB manual in node "Startup" β shell command info -f gdb -n Startup.
- (not enabled with
--with-system-gdbinitduring compilation) β System-wide initialization file. It is executed unless user specified GDB option-nxor-n. See more in the GDB manual in node"System-wide configuration"β shell commandinfo -f gdb -n 'System-wide configuration'. - (not enabled with
--with-system-gdbinit-dirduring compilation) β System-wide initialization directory. All files in this directory are executed on startup unless user specified GDB option-nxor-n, as long as they have a recognized file extension. See more in the GDB manual in node"System-wide configuration"β shell commandinfo -f gdb -n 'System-wide configuration'. ~/.config/gdb/gdbinitor~/.gdbinitβ User initialization file. It is executed unless user specified GDB options-nx,-nor-nh..gdbinitβ Initialization file for current directory. It may need to be enabled with GDB security commandset auto-load local-gdbinit. See more in the GDB manual in node"Init File in the Current Directory"β shell commandinfo -f gdb -n 'Init File in the Current Directory'.
π OPTIONS π
Nothing here, bestie β the original page leaves this section empty. No options are listed. Don't invent any, fr fr. The empty section is lowkey giving mysterious main character energy. π«Ά
πΈ ENVIRONMENT πΈ
Also empty in the original page. No environment variables are listed. Vibe check: blank. π
π₯ SEE ALSO π₯
gdb(1)"info -f gdb -n Startup"
The full documentation for GDB is maintained as a Texinfo manual. If the info and gdb programs and GDB's Texinfo documentation are properly installed at your site, the command
info gdb
should give you access to the complete manual.
Also, Using GDB: A Guide to the GNU Source-Level Debugger, Richard M. Stallman and Roland H. Pesch, July 1991. Iconic. Highkey obsessed. π
π COPYRIGHT π
Copyright (c) 1988-2024 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."
That's the whole page, bestie! Source/version: gdb-16.3.90.20250906-git; date: 2026-10-03; page: GDBINIT(5). πβ¨
π¦ where this page comes from
- nixpkgs unstable: gcc-arm-embedded 15.3.rel2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms