GDB 14 debugger release

GDB 14.1 is released (the first release of the 14.x series, the 14.0 branch was used for development). GDB supports source-level debugging for a wide range of programming languages ​​(Ada, C, C++, D, Fortran, Go, Objective-C, Modula-2, Pascal, Rust, etc.) on various hardware (i386, amd64, ARM, Power, Sparc, RISC-V, etc.) and software platforms (GNU/Linux, *BSD, Unix, Windows, macOS).

Key improvements:

  • The code base has been converted to use the C++17 standard. Building GDB now requires a compiler that supports C++17 (at least GCC 9).
  • Added information about the main function to the index, allowing for faster startup when used with some large executables.
  • Support for AIX 4.x, 5.x and 6.x has been discontinued (release 7.1 is stated as the minimum supported version of AIX).
  • Added initial native support for DAP (Debugger Adapter Protocol).
  • Added support for the NO_COLOR environment variable.
  • Added initial support for integer types larger than 64 bits.
  • Added support for breakpoints bound to individual debug objects (when debugging multiple processes).
  • Added "$_shell" function to run a command in a shell and return the result.
  • Improvements have been made to the Python API:
    • Added classes gdb.Thread, gdb.unwinder.FrameId and gdb.ValuePrinter.
    • Added attributes gdb.Inferior.arguments, gdb.Inferior.main_name, gdb.Breakpoint.inferior, gdb.Progspace.symbol_file, gdb.Progspace.executable_filename.
    • Added functions gdb.execute_mi(COMMAND, [ARG]…), gdb.block_signals().
    • Added methods gdb.Frame.static_link, gdb.Inferior 'clear_env', 'set_env' and 'unset_env', gdb.Type 'is_array_like' and 'is_string_like', gdb.Value 'assign', gdb.Value 'to_array', gdb. Progspace 'objfile_for_address', gdb.LazyString __str__. Added events gdb.ThreadExitedEvent, gdb.ExecutableChangedEvent, gdb.NewProgspaceEvent, gdb.FreeProgspaceEvent.
  • Added the ability to enable or disable individual features for remote debugging targets.
  • Improved support for AArch64 architecture. Added support for SME (Scalable Matrix Extension) and SME2 extensions.
  • Improved support for the Ada language and the Ada 2022 specification.
  • Added support for the '.' argument to the 'list' command. to print the location of the execution point in the current stack frame.
  • The '%V' format specifier has been added to the printf and dprintf commands.
  • In the printf command, the size of the string extracted from the debug object is limited by the 'max-value-size' setting.
  • Added build option "--additional-debug-dirs=PATH", which sets the default value for the 'debug-file-directory' parameter.
  • Added a new command "info main" to extract the main symbol indicating the entry point to the program.
  • Added new commands:
    • "set debug breakpoint on|off"
    • "set tui mouse-events [on|off]"
    • "set always-read-ctf on|off"
    • "maintenance print record-instruction [N]"
    • "maintenance info frame-unwinders"
    • "maintenance wait-for-index-cache"

Source: opennet.ru

Buy reliable hosting for sites with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster