Automic VaultAutomic Vault

brew

gdb mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gdb in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install gdb

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install gdb

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

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add gdb

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

Debian aptverifiziert · 92%
sudo apt install gdb

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

Fedora dnfverifiziert · 92%
sudo dnf install gdb

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

Nixverifiziert · 92%
nix profile install nixpkgs#gdb

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

Arch Linux pacmanverifiziert · 92%
sudo pacman -S gdb

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

openSUSE zypperverifiziert · 92%
sudo zypper install gdb

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

Windows

Scoopverifiziert · 92%
scoop install main/gdb

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

Überblick

Paketzusammenfassung

GNU debugger

Befehle und Aliase

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

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 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.

Sicherheitslage

Risikostufe: red

doc example: debugger and process inspection tool.

Risikoklassifikator

red Risiko · hoch Konfidenz · escape-surveillance-offensive

Warum

  • doc example: debugger and process inspection tool

Signale

  • override:gdb

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Installiert mit 7 Laufzeitabhängigkeiten.
  • Build-Metadaten listen 2 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

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

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
gcorecliglobales Executable
gdbcliglobales Executable
gdb-add-indexcliglobales Executable
gdbservercliglobales Executable
gstackcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version17.2
Manager aktualisiert2026-05-10
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

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

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:gdb
Version17.2
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/gdb
Homepagehttps://www.gnu.org/software/gdb/
Repositoryhttps://sourceware.org/git?p=binutils-gdb.git
Upstream-Dokumentationhttps://sourceware.org/gdb/current/onlinedocs/gdb
LizenzGPL-3.0-or-later
Quellarchivhttps://ftpmirror.gnu.org/gnu/gdb/gdb-17.2.tar.xz
Zuletzt aktualisiert2026-05-10T20:39:26Z
Pulseupdated
Abhängigkeitengmp, mpfr, ncurses, python@3.14, readline, xz, zstd
Build-Abhängigkeitenpkgconf, texinfo
Von macOS bereitgestellte Bibliothekenexpat
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert
Einschränkungengdb requires special privileges to access Mach ports. You will need to codesign the binary. For instructions, see: https://sourceware.org/gdb/wiki/PermissionsDarwin

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

gdb 16.3-1

GNU Debugger

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

sudo apt install gdb
  • Section: devel
  • Architecture: amd64
  • 18 Abhängigkeiten
  • 1 stellt bereit
  • 3 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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 Abhängigkeiten
  • 1 stellt bereit
  • 3 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: 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
  • Abgeglichen nach: 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 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: 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

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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