diff --git a/Programming/gdb/build b/Programming/gdb/build new file mode 100755 index 0000000..71ec9a4 --- /dev/null +++ b/Programming/gdb/build @@ -0,0 +1,21 @@ +#!/usr/bin/env modbuild + +pbuild::set_download_url \ + "https://ftp.gnu.org/gnu/$P/$P-${V_PKG}.tar.xz" +pbuild::install_docfiles \ + COPYING \ + COPYING.LIB \ + COPYING3 \ + COPYING3.LIB \ + ChangeLog \ + MAINTAINERS \ + README \ + README-maintainer-mode + +pbuild::add_to_group 'Programming' + +# Local Variables: +# mode: sh +# sh-basic-offset: 8 +# tab-width: 8 +# End: diff --git a/Programming/gdb/files/variants b/Programming/gdb/files/variants new file mode 100644 index 0000000..8118448 --- /dev/null +++ b/Programming/gdb/files/variants @@ -0,0 +1 @@ +gdb/13.1 stable b:gmp/6.2.1 b:mpfr/4.1.0 Python/3.9.10 diff --git a/Programming/gdb/modulefile b/Programming/gdb/modulefile new file mode 100644 index 0000000..c874afa --- /dev/null +++ b/Programming/gdb/modulefile @@ -0,0 +1,39 @@ +#%Pmodule + +module-whatis "GNU Project debugger" +module-url "https://www.sourceware.org/gdb/" +module-license "GNU GPL v3" +module-maintainer "Achim Gsell " + +module-help " +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: + +Start your program, specifying anything that might affect its behavior. +Make your program stop on specified conditions. Examine what has +happened, when your program has stopped. Change things in your program, +so you can experiment with correcting the effects of one bug and go on +to learn about another. Those programs might be executing on the same +machine as GDB (native), on another machine (remote), or on a simulator. +GDB can run on most popular UNIX and Microsoft Windows variants, as +well as on Mac OS X. + +GDB supports the following languages (in alphabetical order): +- Ada +- Assembly +- C +- C++ +- D +- Fortran +- Go +- Objective-C +- OpenCL +- Modula-2 +- Pascal +- Rust +" +