.. _spkg_gdb:

gdb: The GNU Project debugger
=============================

Description
-----------

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.

License
-------

GPL v3+


Upstream Contact
----------------

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

Dependencies
------------

-  python
-  mpc
-  mpfr
-  ppl
-  gmp/mpir
-  makeinfo (external)


Special Update/Build Instructions
---------------------------------

Current version needs makeinfo installed to build successfully.

Type
----

experimental


Version Information
-------------------

package-version.txt::

    8.2


Equivalent System Packages
--------------------------

conda:

.. CODE-BLOCK:: bash

    $ conda install gdb

homebrew:

.. CODE-BLOCK:: bash

    $ brew install gdb

macports:
install the following packages: gdb
opensuse:

.. CODE-BLOCK:: bash

    $ sudo zypper install gdb

See https://repology.org/project/gdb/versions

However, these system packages will not be used for building Sage
because spkg-configure.m4 has not been written for this package;
see https://trac.sagemath.org/ticket/27330

