OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-16

gdb-17.2

GNU debugger

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

Description

GDB is a source-level debugger for Ada, C, C++, Objective-C, Pascal and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants.

Package information

Ports path
devel/gdb
Package architecture
amd64
Maintainer
Pascal Stumpf <pascal@stumpf.co>, Jeremie Courreges-Anglas <jca@wxcvbn.org>
Categories
devel, lang/python
Available flavors
None listed
Only for architectures
aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Library

Runtime

Build

Test

OpenBSD README
+-------------------------------------------------------------------------------
| Running gdb on OpenBSD
+-------------------------------------------------------------------------------

Colors and emoji characters
===========================

A common question with recent GDB releases is how to disable the use of
colors and emoji.  To disable both, set

  set style enabled off

in your ~/.gdbinit or export NO_COLOR=1 in your environment (may also
affect other software).  See "Output Styling" in the info file for
more fine-grained settings.
Used by (18 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Package guides

Package details as JSON