Subject: CVS commit: pkgsrc/devel/gdb
From: Kamil Rytarowski
Date: 2020-10-24 20:22:08
Message id: 20201024182208.7F2DEFB28@cvs.NetBSD.org

Log Message:
gdb: Upgrade to 10.1

October 24th, 2020: GDB 10.1 Released!

    The latest version of GDB, version 10.1, is available for download.

    This version of GDB includes the following changes and enhancements:

        Support for debugging new targets:
            BPF (bpf-unknown-none)
        GDBserver support for the following targets:
            ARC GNU/Linux
            RISC-V GNU/Linux
        Multi-target debugging support (experimental)
        Support for debuginfod, an HTTP server for distributing ELF/DWARF \ 
debugging information as well as source code.
        Support for debugging a 32-bit Windows program using a 64-bit Windows GDB.
        Support for building GDB with GNU Guile 3.0 and 2.2 (in addition to 2.0)
        Improved performance during startup through the use of threading during \ 
symbol table loading (an optional feature in GDB 9, now enabled by default in \ 
GDB 10).
        Various enhancements to the Python and Guile APIs
        Various TUI Mode fixes and enhancements.
        Other miscellaneous enhancements:
            Detection when attaching to a process of a mismatch between this \ 
process and the executable previously loaded into GDB.
            Support for default arguments for "alias" commands.
        GDBserver support for the following host triplets has been removed:
            i[34567]86-*-lynxos*
            powerpc-*-lynxos*
            i[34567]86-*-nto*
            bfin-*-*linux*
            crisv32-*-linux*
            cris-*-linux*
            m32r*-*-linux*
            tilegx-*-linux*
            arm*-*-mingw32ce*
            i[34567]86-*-mingw32ce*

    See the NEWS file for a more complete and detailed list of what this release \ 
includes.

---

From: 	Joel Brobecker
Subject: 	GDB 9.1 released!
Date: 	Sat, 8 Feb 2020 18:56:59 +0400 (+04)

GDB 9.1 includes the following changes and enhancements:

* Building GDB and GDBserver now requires GNU make >= 3.82.

* If you choose to build GDB without using the GNU readline version bundled
  with the GDB sources, building GDB new requires GNU readline >= 7.0.

* Removed targets and native configurations:
  - GDB no longer supports debugging the Cell Broadband Engine;
  - GDB no longer supports Solaris 10.

* New TI PRU Simulator (pru-*-elf).

* Python Enhancements:
  - GDB can now be compiled with Python 3 on Windows;
  - Various Python API enhancements;

* Usability enhancements:
  - [experimental] Multithreaded symbol loading for higher performance
    (turned off by default, use 'maint set worker-threads unlimited'
    to turn this feature on);
  - Command names can now use the '.' character;
  - GDB can now place breakpoints on nested functions and subroutines
    in Fortran;
  - GDB now shows the Ada task names at more places, e.g. in task switching
    messages.
  - Styling enhancements to various commands to improve readability.
  - GDB now has a standard infrastructure to support dash-style command
    options ('-OPT').  One benefit is that commands that use it can
    easily support completion of command line arguments. Try "CMD
    -[TAB]" or "help CMD" to find options supported by a command. \ 
 Over
    time, we intend to migrate most commands to this infrastructure.

* Enhancements to existing commands:
  - "printf" and "eval" can now print C-style and Ada-style \ 
strings
     without calling functions in the program;
  - "info sources" has been enhance to allow only printing files
    whose name match a REGEXP;
  - New value "presence" for the "set print frame-arguments" \ 
setting,
    to only indicate the presence of arguments with '...' instead
    of printing the argument names and values;
  - The "focus", "winheight", "+", "-", \ 
">", "<" TUI commands are
    now case sensitive;
  - New options support for the following commands that allow overriding
    a number of relevant global settings (as set by e.g. "set print
    [...]" commands): "print", "compile print", \ 
"backtrace", "frame
    apply", "tfaas", "faas";
  - "info types" support for "-q" to disable printing of \ 
some header
    information;
  - In settings, "unlimited" can now be abbreviated with "u".

* New commands:
  - "define-prefix" to define user-defined prefix commands;
  - "|" or "pipe" to execute a command and send its output to
    a shell command.
  - "with" to run a given command with a setting temporarily changed
    to a given value;
  - "set may-call-functions" to control whether subprogram can be
    called from GDB;
  - "set print finish [on|off]" to control whether the returned value
    should be printed when using the "finish" command;
  - "set print max-depth" to simplify the printing of deeply nested
    structures;
  - "set print raw-values [on|off]" to turn on and off pretty printers;
  - "set logging debugredirect [on|off]" to control whether to redirect
    debug output to the log file;
  - Various new "set style" commands;
  - "set print frame-info [...]" to control what information to print
    when printing a frame.
  - "set tui compact-source" to enable the "compact" mode \ 
for the TUI
    source window;
  - "info modules [...]" to query information about Fortran modules;
  - The "set/show print raw-frame-arguments" commands replace
    the "set/show print raw frame-arguments" (now with a dash instead of
    a space). The latter is now deprecated and may be removed in
    a future release.

* New GDB/MI commands
  - "-complete" to list possible completions;
  - "-catch-throw", "-catch-rethrow", and \ 
"-catch-catch", the GDB/MI
    equivalent of the "catch throw", "catch rethrow", and \ 
"catch catch"
    commands (respectively);
  - "-symbol-info-functions", "-symbol-info-types", and
    "-symbol-info-variables", the GDB/MI equivalent of the "info \ 
functions",
    "info types", and "info variables" commands (respectively);
  - "-symbol-info-modules", "-symbol-info-module-functions",
    and "-symbol-info-module-variables", the GDB/MI equivalent of
    "info modules", "info module functions" and "info \ 
module variables".

* Other MI changes
  - The default version of the MI interpreter is now 3 (-i=mi3);
  - The output of information about multi-location breakpoints (which is
    syntactically incorrect in MI 2) has changed in MI 3;
  - Backtraces and frames include a new optional field "addr_flags".

* Several new builtin convenience variables
  - $_gdb_major and $_gdb_minor;
  - $_gdb_setting, $_gdb_setting_str, $_gdb_maint_setting and
    $_gdb_maint_setting_str
  - $_cimag and $_creal
  - $_shell_exitcode and $_shell_exitsignal

* Miscellaneous enhancements:
  - Support for a new configure option "--with-system-gdbinit-dir",
    where system gdbinit files are to be loaded from at startup;
  - 'thread-exited' event is now available in the annotations interface;
  - The TUI SingleKey keymap is now named "SingleKey" (requires
    GNU readline >= 8.0).

For a complete list and more details on each item, please see the gdb/NEWS
file, available at:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-9.1-release

Files:
RevisionActionfile
1.73modifypkgsrc/devel/gdb/Makefile
1.6modifypkgsrc/devel/gdb/PLIST.Linux
1.17modifypkgsrc/devel/gdb/PLIST.common
1.36modifypkgsrc/devel/gdb/distinfo
1.9modifypkgsrc/devel/gdb/options.mk
1.2removepkgsrc/devel/gdb/patches/patch-Makefile.in
1.1removepkgsrc/devel/gdb/patches/patch-gdb_testsuite_Makefile.in
1.1removepkgsrc/devel/gdb/patches/patch-sim_ppc_emul_netbsd.c