debugger release (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 :
- 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 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 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
