# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup compiler_blacklist_versions 1.0
description GDB: The GNU Project Debugger
GDB, the GNU Project debugger, allows you to see what is going on 'inside' \
another program while it executes -- or what another program was doing at the \
moment it crashed. GDB can do four main kinds of things (plus other things \
in support of these) to help you catch bugs in the act: \
a) start your program, specifying anything that might affect its behavior, \
b) make your program stop on specified conditions, \
c) examine what has happened, when your program has stopped, \
d) change things in your program, so you can experiment with correcting \
the effects of one bug and go on to learn about another. \
The program being debugged can be written in Ada, C, C++, Objective-C, \
Pascal (and many other languages). Those programs might be executing on \
the same machine as GDB (native) or on another machine (remote). GDB \
can run on most popular UNIX and Microsoft Windows variants.
homepage https://www.gnu.org/software/gdb/
supported_archs x86_64 i386
checksums rmd160 5ad7e7417dea2f4c7cc4795b74a58b948d8d93b2 \
sha256 52017d33cab5b6a92455a1a904046d075357abf24153470178c0aadca2d479c5 \
# these dependencies are listed under depends_lib rather than depends_build
# because gdb will link with libraries they provide if installed.
# there may be more. See variable host_libs in configure.ac.
# port:guile should also be a dependency, but currently does not build universally. (#48767)
depends_lib port:boehmgc \
# clang 600.0.57 is known to segfault when building this
compiler.blacklist {clang >= 600 < 601}
--with-docdir=${prefix}/share/doc \
if {${os.platform} eq "darwin" && ${os.major} < 12} {