Automic VaultAutomic Vault

brew

Installer gdb avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gdb pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install gdb

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install gdb

MacPorts ports tree · devel/gdb/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add gdb

Alpine Linux edge package indexes · gdb · Source: dl-cdn.alpinelinux.org

Debian aptvérifié · 92%
sudo apt install gdb

Debian stable package indexes · gdb · Source: deb.debian.org

Fedora dnfvérifié · 92%
sudo dnf install gdb

Fedora Rawhide package metadata · gdb · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#gdb

nixpkgs package indexes · pkgs/by-name/gd/gdb/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S gdb

Arch Linux sync databases · gdb · Source: geo.mirror.pkgbuild.com

openSUSE zyppervérifié · 92%
sudo zypper install gdb

openSUSE Tumbleweed package metadata · gdb · Source: download.opensuse.org

Windows

Scoopvérifié · 92%
scoop install main/gdb

Scoop official bucket manifest trees · bucket/gdb.json · Source: api.github.com

aperçu

Résumé du paquet

GNU debugger

Commandes et alias

  • gcore
  • gdb
  • gdb-add-index
  • gdbserver
  • gstack

historique

Historique du projet et usages

GDB is the GNU Project's source-level debugger, used from the command line to run programs under observation, stop them at controlled points, inspect state, and experiment with program execution.

Historique du projet

The current GDB manual credits Richard Stallman as the original author and describes many later contributors. Its copyright history begins in 1988, placing GDB among the early core GNU development tools.

The manual's contributor history records early releases through 2.8 under Richard Stallman and assistants, later 3.x and 4.x release stewards, and major commercial and community contributions for CPU targets, object formats, remote debugging, gdbserver, the machine interface, and language support.

GDB is maintained in Sourceware's binutils-gdb repository, reflecting its close development relationship with GNU Binutils and the broader GNU toolchain.

Historique d'adoption

GDB became the default debugger in many Unix-like development environments because it paired a scriptable CLI with broad compiler, architecture, object-file, and language support.

The manual records Cygnus Solutions sponsoring GDB maintenance and much development since 1991, an important phase in professionalizing GNU toolchain support for commercial cross-development and embedded targets.

Modes d'utilisation

The manual describes GDB as useful for starting a program, stopping it on specified conditions, examining what happened after it stopped, and changing program state to continue debugging.

GDB supports many languages, including C, C++, D, Go, Objective-C, Fortran, OpenCL C, Pascal, Rust, assembly, Modula-2, and Ada. It also includes remote debugging, gdbserver, TUI, GDB/MI, Python and Guile extension APIs, and Debugger Adapter Protocol support.

Pourquoi les passionnés de paquets s'y intéressent

GDB is a canonical package-manager debugging tool: small at the command line, but deeply tied to compiler output, debug symbols, libc behavior, architecture support, Python scripting, and remote target workflows.

Its initialization-file search path is platform-sensitive, with XDG-style paths on non-macOS Unix systems and Library/Preferences paths on macOS, which makes packaging and documentation details visible to users.

Chronologie

  • 1988: The GDB manual copyright history begins.
  • 1991: Cygnus Solutions begins sponsoring GDB maintenance and much of its development.
  • 2025: GDB 17.1 is released according to the official news page.
  • 2026: GDB 17.2 is released according to the official news page.

Related projects

  • GDB is developed with GNU Binutils in the binutils-gdb repository and relies on BFD for multiple object-file formats.
  • Related tools and interfaces include gdbserver, Readline, GDB/MI, the Debugger Adapter Protocol, and frontends such as gdbgui.

posture de sécurité

Niveau de risque : red

doc example: debugger and process inspection tool.

Classificateur de risque

risque red · confiance élevé · escape-surveillance-offensive

Pourquoi

  • doc example: debugger and process inspection tool

Signaux

  • override:gdb

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 7 dépendances d’exécution.
  • Les métadonnées de compilation listent 2 dépendances de compilation.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

macOS
~/Library/Preferences/gdb/gdbearlyinit~/.gdbearlyinit~/Library/Preferences/gdb/gdbinit~/.gdbinit./.gdbinit
Unix
$XDG_CONFIG_HOME/gdb/gdbearlyinit~/.config/gdb/gdbearlyinit~/.gdbearlyinit$XDG_CONFIG_HOME/gdb/gdbinit~/.config/gdb/gdbinit~/.gdbinit./.gdbinit

exécutables

Exécutables installés

CommandeTypeExpositionNote
gcorecliexécutable global
gdbcliexécutable global
gdb-add-indexcliexécutable global
gdbservercliexécutable global
gstackcliexécutable global

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-07-25
version du gestionnaire17.2
gestionnaire mis à jour2026-05-10
données localesOK
amontnot checked
dernière version détectéenon détecté

https://www.gnu.org/software/gdb/

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:gdb
Version17.2
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/gdb
Page d'accueilhttps://www.gnu.org/software/gdb/
Dépôthttps://sourceware.org/git?p=binutils-gdb.git
Docs amonthttps://sourceware.org/gdb/current/onlinedocs/gdb
LicenceGPL-3.0-or-later
Archive sourcehttps://ftpmirror.gnu.org/gnu/gdb/gdb-17.2.tar.xz
Dernière mise à jour2026-05-10T20:39:26Z
Pulseupdated
Dépendancesgmp, mpfr, ncurses, python@3.14, readline, xz, zstd
Dépendances de compilationpkgconf, texinfo
Bibliothèques fournies par macOSexpat
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré
Précautionsgdb requires special privileges to access Mach ports. You will need to codesign the binary. For instructions, see: https://sourceware.org/gdb/wiki/PermissionsDarwin

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegdb
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

gdb 16.3-1

GNU Debugger

https://www.gnu.org/s/gdb/

sudo apt install gdb
  • Section: devel
  • Architecture: amd64
  • 18 Dépendances
  • 1 fournit
  • 3 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Gdb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gdb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gdb-minimal 16.3-1

GNU Debugger (minimal version - dummy transitional package)

https://www.gnu.org/s/gdb/

sudo apt install gdb-minimal
  • Section: devel
  • Architecture: all
  • Source Package: gdb
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Gdb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gdb-minimal from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gdb-multiarch 16.3-1

GNU Debugger (with support for multiple architectures)

https://www.gnu.org/s/gdb/

sudo apt install gdb-multiarch
  • Section: devel
  • Architecture: amd64
  • Source Package: gdb
  • 19 Dépendances
  • normalized package name match
  • Correspondance par : Gdb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gdb-multiarch from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gdb-source 16.3-1

GNU Debugger (source)

https://www.gnu.org/s/gdb/

sudo apt install gdb-source
  • Section: devel
  • Architecture: all
  • Source Package: gdb
  • normalized package name match
  • Correspondance par : Gdb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gdb-source from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

gdbserver 16.3-1

GNU Debugger (remote server)

https://www.gnu.org/s/gdb/

sudo apt install gdbserver
  • Section: devel
  • Architecture: amd64
  • Source Package: gdb
  • 3 Dépendances
  • normalized package name match
  • Correspondance par : Gdb
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gdbserver from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gdb

nix profile install nixpkgs#gdb
  • normalized package name match
  • Correspondance par : Gdb
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gd/gdb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gdb 15.0.50.20240403-0ubuntu1

GNU Debugger

https://www.gnu.org/s/gdb/

sudo apt install gdb
  • Section: devel
  • Architecture: amd64
  • 18 Dépendances
  • 1 fournit
  • 3 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Gdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gdb from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

gdb-doc 15.0.50.20240403-0ubuntu1

The GNU Debugger Documentation

https://www.gnu.org/s/gdb/

sudo apt install gdb-doc
  • Section: devel
  • Architecture: all
  • Source Package: gdb
  • normalized package name match
  • Correspondance par : Gdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gdb-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

gdb-multiarch 15.0.50.20240403-0ubuntu1

GNU Debugger (with support for multiple architectures)

https://www.gnu.org/s/gdb/

sudo apt install gdb-multiarch
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gdb
  • 19 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Gdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gdb-multiarch from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gdb-source 15.0.50.20240403-0ubuntu1

GNU Debugger (source)

https://www.gnu.org/s/gdb/

sudo apt install gdb-source
  • Section: universe/devel
  • Architecture: all
  • Source Package: gdb
  • normalized package name match
  • Correspondance par : Gdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gdb-source from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

gdbserver 15.0.50.20240403-0ubuntu1

GNU Debugger (remote server)

https://www.gnu.org/s/gdb/

sudo apt install gdbserver
  • Section: universe/devel
  • Architecture: amd64
  • Source Package: gdb
  • 3 Dépendances
  • normalized package name match
  • Correspondance par : Gdb
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gdbserver from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gdb 16.3-r4

The GNU Debugger

https://www.gnu.org/software/gdb/

sudo apk add gdb
  • License: GPL-3.0-or-later AND LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gdb
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Gdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gdb from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gdb-dbg 16.3-r4

The GNU Debugger (debug symbols)

https://www.gnu.org/software/gdb/

sudo apk add gdb-dbg
  • License: GPL-3.0-or-later AND LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gdb
  • 1 Dépendances
  • normalized package name match
  • Correspondance par : Gdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gdb-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gdb-doc 16.3-r4

The GNU Debugger (documentation)

https://www.gnu.org/software/gdb/

sudo apk add gdb-doc
  • License: GPL-3.0-or-later AND LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gdb
  • normalized package name match
  • Correspondance par : Gdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gdb-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

gdb-multiarch 16.3-r4

The GNU Debugger for all supported architectures

https://www.gnu.org/software/gdb/

sudo apk add gdb-multiarch
  • License: GPL-3.0-or-later AND LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: gdb
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Gdb
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gdb-multiarch from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

gdb 17.1-10.fc45

A GNU source-level debugger for C, C++, Fortran, Go and other languages

https://gnu.org/software/gdb/

sudo dnf install gdb
  • License: GPL-3.0-or-later AND BSD-3-Clause AND FSFAP AND LGPL-2.1-or-later AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LicenseRef-Fedora-Public-Domain AND
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gdb
  • 3 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Gdb
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gdb from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment