Release of GDB Debugger 9

Introduced debugger release GDB 9.1 (the first release of the 9.x series, the 9.0 branch was used for development). GDB supports source-level debugging for a wide range of programming languages (Ada, C, C++, Objective-C, Pascal, Go, etc.) on various hardware (i386, amd64, ARM, Power, Sparc, RISC-V, etc.) and software platforms (GNU/Linux, *BSD, Unix, Windows, macOS).

Key improvements:

  • Support for Solaris 10 and Cell Broadband Engine platforms has been discontinued;
  • A new simulator for the PRU (Programmable Real-time Unit) subsystem, used in Texas Instruments processors (pru-*-elf), has been added;
  • An experimental mode for quickly loading debug symbols in multithreading mode has been implemented (enabled via the 'maint set worker-threads unlimited' setting);
  • The ability to use the ‘.’ character in command names has been provided;
  • The capability to set breakpoints on nested functions and subprograms in Fortran has been added;
  • Work has been done to standardize styles and improve the readability of commands;
  • Native infrastructure for passing command arguments using the dash (‘-OPT’) has been implemented, allowing for tab key autocompletion;
  • In the ‘printf’ and ‘eval’ commands, support for outputting strings in C and Ada styles without directly invoking the function in the program has been implemented;
  • In the 'info sources' command, support for filtering output files based on regular expressions has been added;
  • In the ‘set print frame-arguments’ configuration, a ‘presence’ parameter has been implemented, which, when set, outputs only the ‘
’ presence indicator instead of the name and value;
  • In the interface TUI the commands ‘focus’, ‘winheight’, ‘+’, ‘-‘, ‘>’, ‘<’ are now case-sensitive;
  • For the commands ‘print’, ‘compile print’, ‘backtrace’, ‘frame
    apply’, ‘tfaas’ and ‘faas’, options have been implemented to override global settings (e.g., set via ‘set print [
]’);
  • In the ‘info types’ command, an option ‘-q’ has been added to disable the output of some headers;
  • In the settings, instead of the value ‘unlimited’, now you can specify ‘u’;
  • New commands have been added:
    • ‘define-prefix’ for defining custom prefixed commands;
    • ‘|’ or ‘pipe’ to run a command and redirect output to a shell command;
    • ‘with’ to run the specified command with temporarily altered settings;
    • ‘set may-call-functions’ to control the ability to call subprograms from GDB;
    • «set print finish [on|off]» to control the display of the returned value when using the command «finish»;
    • «set print max-depth» to limit the output of nested structures;
    • «set print raw-values [on|off]» to enable/disable formatting of the output values;
    • «set logging debugredirect [on|off]» to manage the saving of debug output to a log file;
    • A series of new commands «set style»;
    • «set print frame-info [
]» to specify the information to be displayed regarding the stack frame state;
    • «set tui compact-source» to enable compact display mode for code in the TUI (Text User Interface);
    • «info modules [
]» to request information about Fortran modules;
    • The command «set/show print raw frame-arguments» has been suggested instead of «set/show print raw-frame-arguments» (using a dash instead of a space as a separator);
  • In the management interface GDB/MI new commands added: «-complete», «-catch-throw», «-catch-rethrow», «-catch-catch», «-symbol-info-functions», «-symbol-info-types»,
    «-symbol-info-variables», «-symbol-info-modules», «-symbol-info-module-functions» and «-symbol-info-module-variables», equivalent to similar GDB commands. By default, the third version of the MI interpreter is activated (-i=mi3);
  • New built-in variables added:
    • $_gdb_major, $_gdb_minor;
    • $_gdb_setting, $_gdb_setting_str, $_gdb_maint_setting,
    • $_gdb_maint_setting_str
    • $_cimag, $_creal
    • $_shell_exitcode, $_shell_exitsignal
  • An option «—with-system-gdbinit-dir» has been added to the configure script to define the path to the system gdbinit files;
  • A set of improvements has been made in the Python API. Support for building with Python 3 on Windows has been added;
  • Requirements for the build environment have been raised. GDB and GDBserver now require at least GNU make 3.82 to be built. When building with an external readline library, at least GNU readline 7.0 is required.

Source: opennet.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers đŸ”„ Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster