GDB 14.2 released! Release 14.2 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Fortran, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU HTTPS server in the directory: https://ftp.gnu.org/gnu/gdb/?C=M;O=D The vital stats: Size sha256sum Name 23MiB 2d4dd8061d8ded12b6c63f55e45344881e8226105f4d2a9b234040efa5ce7772 gdb-14.2.tar.xz 40MiB 2de5174762e959a5e529e20c20d88a04735469d8fffd98f61664e70b341dc47c gdb-14.2.tar.gz There is a web page for GDB at: https://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. GDB 14.2 brings the following fixes and enhancements over GDB 14.1: * PR symtab/31112 (DLL export forwarding is broken) * PR c++/31128 (gdb crashes when trying to print a global variable stub without a running inferior) * PR tdep/31254 ([gdb/tdep, arm] FAIL: gdb.threads/staticthreads.exp: up 10) * PR gdb/31256 (Crash with basic 'list .') * PR python/31366 (Frame.static_link() segfaults) GDB 14.1 includes the following changes and enhancements: * Removed features, removed configurations: ** GDB no longer support AiX 4.x, 5.x and 6.x. The minimum version supported is AiX 7.1. ** GDB/MI version 1 support has been removed * Initial built-in support for Debugger Adapter Protocol (DAP) * GDB now recognizes the NO_COLOR environment variable * Initial support for integer types larger than 64 bits * Breakpoints can now be inferior-specific * New convenience function "$_shell", to execute a shell command and return its result. * Python support ** New class gdb.Thread ** New class gdb.unwinder.FrameId ** New class gdb.ValuePrinter ** New gdb.Inferior.arguments attribute, holding the command-line arguments to the inferior, if known ** New gdb.Inferior.main_name attribute, holding the name of the inferior's 'main', if known. ** New gdb.Breakpoint.inferior attribute ** New gdb.Progspace.symbol_file attribute ** New gdb.Progspace.executable_filename attribute ** New function gdb.execute_mi(COMMAND, [ARG]...) ** New function gdb.block_signals() ** New method gdb.Frame.static_link ** New gdb.Inferior 'clear_env', 'set_env' and 'unset_env' methods ** New gdb.Type now has the 'is_array_like' and 'is_string_like' methods ** New gdb.Value 'assign' method ** New gdb.Value 'to_array' method ** New gdb.Progspace 'objfile_for_address' method ** New methods added to the gdb.PendingFrame class, with behavior which is the same as the corresponding methods on gdb.Frame. ** gdb.LazyString now implements the __str__ method ** New event gdb.ThreadExitedEvent ** New event gdb.ExecutableChangedEvent ** New event gdb.NewProgspaceEvent ** New event gdb.FreeProgspaceEvent ** The frame-id passed to gdb.PendingFrame.create_unwind_info now use either an integer or a gdb.Value object for each of its 'sp', 'pc', and 'special' attributes. ** The Disassembler API from the gdb.disassembler module has been extended to include styling support ** gdb.parse_and_eval now has a new "global_context" parameter, allowing the request to only examine global symbols. ** The name argument passed to gdb.unwinder.Unwinder.__init__ must now be of type 'str' otherwise a TypeError will be raised. ** The gdb.unwinder.Unwinder.enabled attribute can now only accept values of type 'bool'. Changing this attribute will now invalidate GDB's frame-cache. ** It is now no longer possible to sub-class the gdb.disassembler.DisassemblerResult type. * Remote protocol ** Support for enabling or disabling individual remote target features * GDB/MI support ** New 'no-history' stop reason ** Support for inferior-specific breakpoints ** The bkpt tuple, which appears in breakpoint-created notifications, and in the result of the -break-insert command can now include an optional 'inferior' field for both the main breakpoint, and each location, when the breakpoint is inferior-specific. ** Trying to create a thread-specific breakpoint using a non-existent thread ID now results in an error ** New "simple-values-ref-types" -list-feature value indicating how the --simple-values option in various commands take reference types into account. * Enhanced AArch64 support ** Initial support for Scalable Matrix Extension (SME) and for Scalable Matrix Extension 2 (SME2) ** The 'org.gnu.gdb.aarch64.pauth' Pointer Authentication feature is now deprecated in favor of the 'org.gnu.gdb.aarch64.pauth_v2' feature string * Enhanced Ada support ** Support for the Ada 2022 target name symbol ('@') ** Support for the The Ada 2022 'Enum_Rep and 'Enum_Val attributes * Miscellaneous ** The 'list' command now accepts '.' as an argument, telling GDB to print the location around the point of execution within the current frame ** New '%V' output format for printf and dprintf commands. ** The printf command now limits the size of strings fetched from the inferior to the value of the 'max-value-size' setting. ** Support for extending at configure time the default value of the 'debug-file-directory' GDB parameter via the new --additional-debug-dirs=PATHs configure option. ** New command "info main" ** New command "set tui mouse-events [on|off]" (on by default) ** New command "set always-read-ctf on|off" (off by default) ** Various new debug and maitenance commands 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-14.2-release -- Joel Brobecker
GDB 14.1 released! Release 14.1 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Fortran, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU HTTPS server in the directory: https://ftp.gnu.org/gnu/gdb/?C=M;O=D The vital stats: Size sha256sum Name 23MiB d66df51276143451fcbff464cc8723d68f1e9df45a6a2d5635a54e71643edb80 gdb-14.1.tar.xz 40MiB 683e63182fb72bd5d8db32ab388143796370a8e3e71c26bc264effb487db7927 gdb-14.1.tar.gz There is a web page for GDB at: https://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. GDB 14.1 includes the following changes and enhancements: * Removed features, removed configurations: ** GDB no longer support AiX 4.x, 5.x and 6.x. The minimum version supported is AiX 7.1. ** GDB/MI version 1 support has been removed * Initial built-in support for Debugger Adapter Protocol (DAP) * GDB now recognizes the NO_COLOR environment variable * Initial support for integer types larger than 64 bits * Breakpoints can now be inferior-specific * New convenience function "$_shell", to execute a shell command and return its result. * Python support ** New class gdb.Thread ** New class gdb.unwinder.FrameId ** New class gdb.ValuePrinter ** New gdb.Inferior.arguments attribute, holding the command-line arguments to the inferior, if known ** New gdb.Inferior.main_name attribute, holding the name of the inferior's 'main', if known. ** New gdb.Breakpoint.inferior attribute ** New gdb.Progspace.symbol_file attribute ** New gdb.Progspace.executable_filename attribute ** New function gdb.execute_mi(COMMAND, [ARG]...) ** New function gdb.block_signals() ** New method gdb.Frame.static_link ** New gdb.Inferior 'clear_env', 'set_env' and 'unset_env' methods ** New gdb.Type now has the 'is_array_like' and 'is_string_like' methods ** New gdb.Value 'assign' method ** New gdb.Value 'to_array' method ** New gdb.Progspace 'objfile_for_address' method ** New methods added to the gdb.PendingFrame class, with behavior which is the same as the corresponding methods on gdb.Frame. ** gdb.LazyString now implements the __str__ method ** New event gdb.ThreadExitedEvent ** New event gdb.ExecutableChangedEvent ** New event gdb.NewProgspaceEvent ** New event gdb.FreeProgspaceEvent ** The frame-id passed to gdb.PendingFrame.create_unwind_info now use either an integer or a gdb.Value object for each of its 'sp', 'pc', and 'special' attributes. ** The Disassembler API from the gdb.disassembler module has been extended to include styling support ** gdb.parse_and_eval now has a new "global_context" parameter, allowing the request to only examine global symbols. ** The name argument passed to gdb.unwinder.Unwinder.__init__ must now be of type 'str' otherwise a TypeError will be raised. ** The gdb.unwinder.Unwinder.enabled attribute can now only accept values of type 'bool'. Changing this attribute will now invalidate GDB's frame-cache. ** It is now no longer possible to sub-class the gdb.disassembler.DisassemblerResult type. * Remote protocol ** Support for enabling or disabling individual remote target features * GDB/MI support ** New 'no-history' stop reason ** Support for inferior-specific breakpoints ** The bkpt tuple, which appears in breakpoint-created notifications, and in the result of the -break-insert command can now include an optional 'inferior' field for both the main breakpoint, and each location, when the breakpoint is inferior-specific. ** Trying to create a thread-specific breakpoint using a non-existent thread ID now results in an error ** New "simple-values-ref-types" -list-feature value indicating how the --simple-values option in various commands take reference types into account. * Enhanced AArch64 support ** Initial support for Scalable Matrix Extension (SME) and for Scalable Matrix Extension 2 (SME2) ** The 'org.gnu.gdb.aarch64.pauth' Pointer Authentication feature is now deprecated in favor of the 'org.gnu.gdb.aarch64.pauth_v2' feature string * Enhanced Ada support ** Support for the Ada 2022 target name symbol ('@') ** Support for the The Ada 2022 'Enum_Rep and 'Enum_Val attributes * Miscellaneous ** The 'list' command now accepts '.' as an argument, telling GDB to print the location around the point of execution within the current frame ** New '%V' output format for printf and dprintf commands. ** The printf command now limits the size of strings fetched from the inferior to the value of the 'max-value-size' setting. ** Support for extending at configure time the default value of the 'debug-file-directory' GDB parameter via the new --additional-debug-dirs=PATHs configure option. ** New command "info main" ** New command "set tui mouse-events [on|off]" (on by default) ** New command "set always-read-ctf on|off" (off by default) ** Various new debug and maitenance commands 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-14.1-release -- Joel Brobecker
Hello, A quick message to announce that the GDB 14 branch has just been created. The prerelease snapshots will be available at: https://sourceware.org/pub/gdb/snapshots/branch/gdb.tar.xz The sources are also accessible via GIT: git clone --single-branch --branch=gdb-14-branch git://sourceware.org/git/binutils-gdb.git This announcement has also been posted on the GDB web site at: http://www.sourceware.org/gdb/
GDB 13.2 released! Release 13.2 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Fortran, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU HTTPS server in the directory: https://ftp.gnu.org/gnu/gdb/?C=M;O=D The vital stats: Size sha256sum Name 23MiB fd5bebb7be1833abdb6e023c2f498a354498281df9d05523d8915babeb893f0a gdb-13.2.tar.xz 39MiB 7ead13d9e19fa0c57bb19104e1a5f67eefa9fc79f2e6360de491e8fddeda1e30 gdb-13.2.tar.gz There is a web page for GDB at: https://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. GDB 13.2 brings the following fixes and enhancements over GDB 13.1: * PR testsuite/30158 (rustc testsuite fails with 13.1, apparently worked before with trunk 20230114 on i686-linux-gnu and powerpc64le-linux-gnu) * PR gdb/30214 (GDB 13.1 does not compile on FreeBSD 13.1) * PR gdb/30240 ((linux/aarch) thread.c:86: internal-error: inferior_thread: Assertion `current_thread_ != nullptr' failed) * PR gdb/30249 ([13 regression] hookpost-extended-remote will not work) * PR exp/30271 (Addresses of static thread_local fields are badly calculated sometimes) * PR symtab/30357 (Segmentation fault for the 'start' command) * PR symtab/30369 ([gdb/symtab] False match issue in skip_prologue_using_linetable) * PR gdb/30423 (Build failures with clang 16) * PR build/30450 (Build failure (linux-low.cc:5393:45: error: expected ':' before ')' token) with musl-1.2.4) GDB 13.1 includes the following changes and enhancements: * Support for the following new targets has been added in both GDB and GDBserver: ** GNU/Linux/LoongArch (gdbserver) loongarch*-*-linux* ** GNU/Linux/CSKY (gdbserver) csky*-*linux* * The Windows native target now supports target async. * FreeBSD: ** Arm and AArch64: Support for Thread Local Storage (TLS) variables ** Hardware watchpoint support on AArch64 FreeBSD * Floating-point support has now been added on LoongArch GNU/Linux. * New commands: ** set print nibbles [on|off] show print nibbles This controls whether the 'print/t' command will display binary values in groups of four bits, known as "nibbles". The default is 'off'. ** Various styling-related commands. See the gdb/NEWS file for more details (see link at the bottom). ** Various maintenance commands. These are normally aimed at GDB experts or developers. See the gdb/NEWS file for more details (see link at the bottom). * Python API improvements: ** New Python API for instruction disassembly. The new attribute 'locations' of gdb.Breakpoint returns a list of gdb.BreakpointLocation objects specifying the locations where the breakpoint is inserted into the debuggee. ** New Python type gdb.BreakpointLocation. ** New function gdb.format_address(ADDRESS, PROGSPACE, ARCHITECTURE) that formats ADDRESS as 'address <symbol+offset>' ** New function gdb.current_language that returns the name of the current language. Unlike gdb.parameter('language'), this will never return 'auto'. ** New function gdb.print_options that returns a dictionary of the prevailing print options, in the form accepted by gdb.Value.format_string. ** New method gdb.Frame.language that returns the name of the frame's language. ** gdb.Value.format_string now uses the format provided by 'print', if it is called during a 'print' or other similar operation. ** gdb.Value.format_string now accepts the 'summary' keyword. This can be used to request a shorter representation of a value, the way that 'set print frame-arguments scalars' does. ** The gdb.register_window_type method now restricts the set of acceptable window names. The first character of a window's name must start with a character in the set [a-zA-Z], every subsequent character of a window's name must be in the set [-_.a-zA-Z0-9]. * GDB/MI changes: ** MI version 1 is deprecated, and will be removed in GDB 14. ** The async record stating the stopped reason 'breakpoint-hit' now contains an optional field locno. * Miscellaneous improvements: ** gdb now supports zstd compressed debug sections (ELFCOMPRESS_ZSTD) for ELF. ** New convenience variable $_inferior_thread_count contains the number of live threads in the current inferior. ** New convenience variables $_hit_bpnum and $_hit_locno, set to the breakpoint number and the breakpoint location number of the breakpoint last hit. ** The "info breakpoints" now displays enabled breakpoint locations of disabled breakpoints as in the "y-" state. ** The format of 'disassemble /r' and 'record instruction-history /r' has changed to match the layout of GNU objdump when disassembling. A new format "/b" has been introduce to provide the old behavior of "/r". ** The TUI no longer styles the source and assembly code highlighted by the current position indicator by default. You can however re-enable styling using the new "set style tui-current-position" command. ** It is now possible to use the "document" command to document user-defined commands. ** Support for memory tag data for AArch64 MTE. * Support Removal notices: ** DBX mode has been removed. ** Support for building against Python version 2 has been removed. It is now only possible to build GDB against Python 3. ** Support for the following commands has been removed: set debug aix-solib on|off show debug aix-solib set debug solib-frv on|off show debug solib-frv Use the "set/show debug solib" commands instead. 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-13.2-release -- Joel Brobecker
[-- Attachment #1: Type: text/plain, Size: 413 bytes --] **I am looking for a possible partnership with a business or individual in your country so that I can make some investments there due to the prolonged civil war in my country, now the earthquake in Syria. I wish to relocate my investment capital to your country, any viable investment idea you suggest to me will be considered.* *Kindly, reply for us to discuss this further. Regards* *Al.Nabil, 69 years old.*
GDB 13.1 released! Release 13.1 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Fortran, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU FTP server in the directory: ftp://ftp.gnu.org/gnu/gdb The vital stats: Size sha256sum Name 23MiB 115ad5c18d69a6be2ab15882d365dda2a2211c14f480b3502c6eba576e2e95a0 gdb-13.1.tar.xz 39MiB 4cc3d7143d6d54d289d227b1e7289dbc0fa4cbd46131ab87136e1ea831cf46d4 gdb-13.1.tar.gz There is a web page for GDB at: https://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. GDB 13.1 includes the following changes and enhancements: * Support for the following new targets has been added in both GDB and GDBserver: ** GNU/Linux/LoongArch (gdbserver) loongarch*-*-linux* ** GNU/Linux/CSKY (gdbserver) csky*-*linux* * The Windows native target now supports target async. * FreeBSD: ** Arm and AArch64: Support for Thread Local Storage (TLS) variables ** Hardware watchpoint support on AArch64 FreeBSD * Floating-point support has now been added on LoongArch GNU/Linux. * New commands: ** set print nibbles [on|off] show print nibbles This controls whether the 'print/t' command will display binary values in groups of four bits, known as "nibbles". The default is 'off'. ** Various styling-related commands. See the gdb/NEWS file for more details (see link at the bottom). ** Various maintenance commands. These are normally aimed at GDB experts or developers. See the gdb/NEWS file for more details (see link at the bottom). * Python API improvements: ** New Python API for instruction disassembly. The new attribute 'locations' of gdb.Breakpoint returns a list of gdb.BreakpointLocation objects specifying the locations where the breakpoint is inserted into the debuggee. ** New Python type gdb.BreakpointLocation. ** New function gdb.format_address(ADDRESS, PROGSPACE, ARCHITECTURE) that formats ADDRESS as 'address <symbol+offset>' ** New function gdb.current_language that returns the name of the current language. Unlike gdb.parameter('language'), this will never return 'auto'. ** New function gdb.print_options that returns a dictionary of the prevailing print options, in the form accepted by gdb.Value.format_string. ** New method gdb.Frame.language that returns the name of the frame's language. ** gdb.Value.format_string now uses the format provided by 'print', if it is called during a 'print' or other similar operation. ** gdb.Value.format_string now accepts the 'summary' keyword. This can be used to request a shorter representation of a value, the way that 'set print frame-arguments scalars' does. ** The gdb.register_window_type method now restricts the set of acceptable window names. The first character of a window's name must start with a character in the set [a-zA-Z], every subsequent character of a window's name must be in the set [-_.a-zA-Z0-9]. * GDB/MI changes: ** MI version 1 is deprecated, and will be removed in GDB 14. ** The async record stating the stopped reason 'breakpoint-hit' now contains an optional field locno. * Miscellaneous improvements: ** gdb now supports zstd compressed debug sections (ELFCOMPRESS_ZSTD) for ELF. ** New convenience variable $_inferior_thread_count contains the number of live threads in the current inferior. ** New convenience variables $_hit_bpnum and $_hit_locno, set to the breakpoint number and the breakpoint location number of the breakpoint last hit. ** The "info breakpoints" now displays enabled breakpoint locations of disabled breakpoints as in the "y-" state. ** The format of 'disassemble /r' and 'record instruction-history /r' has changed to match the layout of GNU objdump when disassembling. A new format "/b" has been introduce to provide the old behavior of "/r". ** The TUI no longer styles the source and assembly code highlighted by the current position indicator by default. You can however re-enable styling using the new "set style tui-current-position" command. ** It is now possible to use the "document" command to document user-defined commands. ** Support for memory tag data for AArch64 MTE. * Support Removal notices: ** DBX mode has been removed. ** Support for building against Python version 2 has been removed. It is now only possible to build GDB against Python 3. ** Support for the following commands has been removed: set debug aix-solib on|off show debug aix-solib set debug solib-frv on|off show debug solib-frv Use the "set/show debug solib" commands instead. 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-13.1-release -- Joel Brobecker
Hello, A quick message to announce that the GDB 13 branch has just been created. The prerelease snapshots will be available at: ftp://sourceware.org/pub/gdb/snapshots/branch/gdb.tar.xz The sources are also accessible via GIT: git clone --single-branch --branch=gdb-13-branch git://sourceware.org/git/binutils-gdb.git This announcement has also been posted on the GDB web site at: http://www.sourceware.org/gdb/
[-- Attachment #1: Type: text/plain, Size: 2389 bytes --] Hello everyone! I hope you all are doing well! I am forwarding this mail,regarding possible news about GDB for Mac OS with M1 processor. I sent the original message to an incorrect recipient, who suggested me to forward it to other recipients. You may be able to help me. The original message reads: "I would like to know if there are any plans to release any version of GDB for Mac OS that uses the M1 processor. I use the fortran language in my PhD research and have been working with the Macbook for over 10 years." I really like GDB and would be very happy if I could use it on M1 processors. I have searched the Internet, but found no solution and very little information." Is there any information about it? Thank you very much for your attention, since now. Best regards. Higor B. Assis. > Begin forwarded message: > > From: "Jeanne Rasata via RT" <info@fsf.org> > Subject: [gnu.org #1898527] GDB for Fortran on Mac M1 processor > Date: 5 December 2022 14:08:12 GMT-3 > To: higor.assis@unesp.br > Reply-To: info@fsf.org > > Hello, there, > > On 2022-12-04 22:21:04, higor.assis@unesp.br wrote: >> I would like to know if there are any plans to release any version of >> GDB for Mac OS that uses M1 processor. I use fortran language in my >> PhD research and have been working for more than 10 years with >> macbook. I really like GDB and would be very happy if I could use it >> on M1 processors. I have searched the internet but have not found any >> solutions and very little information. > > This is only the general e-mail contact for the FSF and the GNU > Project and I am unable to answer technical questions. My best > suggestion would be to contact the project mailing lists to see if > they can give you any help. You can find their contact information in > their entry in our Free Software Directory, at > <http://directory.fsf.org/wiki/Gdb>. Also, you might find it helpful > to go to <http://lists.gnu.org/mailman/listinfo/>, where you will find > a complete list of all the public mailing lists, and to > <http://www.gnu.org/help/gethelp.html>, which we are working to > improve. > Sincerely, > j. > > --- > Have we been helpful to you today? Would you like to help > the FSF continue to spread the word about software freedom? > You too can become a member! Learn more at: > http://donate.fsf.org
GDB 12.1 released! Release 12.1 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Fortran, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU FTP server in the directory: ftp://ftp.gnu.org/gnu/gdb The vital stats: Size md5sum Name 22MiB 759a1b8d2b4d403367dd0e14fa04643d gdb-12.1.tar.xz 37MiB 0c7339e33fa347ce4d7df222d8ce86af gdb-12.1.tar.gz There is a web page for GDB at: https://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. GDB 11.1 includes the following changes and enhancements: * New support for the following native configuration: GNU/Linux/OpenRISC or1k*-*-linux* * New support for the following targets: GNU/Linux/LoongArch loongarch*-*-linux* * New GDBserver support on the following configuration: GNU/Linux/OpenRISC or1k*-*-linux* * Support for the following target has been removed: S+core score-*-* * Multithreaded symbol loading is now enabled by default * Deprecation Notices: ** GDB 12 is the last release of GDB that will support building against Python 2 ** DBX mode is deprecated, and will be removed in GDB 13 * GDB/MI changes: ** The '-add-inferior' with no option flags now inherits the connection of the current inferior, this restores the behaviour of GDB as it was prior to GDB 10. ** The '-add-inferior' command now accepts a '--no-connection' option, which causes the new inferior to start without a connection. * Python API enhancements: ** It is now possible to add GDB/MI commands implemented in Python ** New function gdb.Architecture.integer_type() ** New gdb.events.gdb_exiting event ** New 'gdb.events.connection_removed' event registry ** New gdb.TargetConnection object ** New gdb.Inferior.connection property ** New read-only attribute gdb.InferiorThread.details ** New gdb.RemoteTargetConnection.send_packet method ** New read-only attributes gdb.Type.is_scalar and gdb.Type.is_signed ** The gdb.Value.format_string method now takes a 'styling' argument ** Various new function in the "gdb" module * Miscellaneous: ** The FreeBSD native target now supports async mode ** Improved C++ template support ** Support for disabling source highlighting through GNU Source Highlight, even when available, allowing the use of the Pygments library instead. ** The "print" command has been changed so as to print floating-point values with a base-modifying formats such as "/x" to display the underlying bytes of the value in the desired base. ** The "clone-inferior" command now ensures that the TTY, CMD and ARGS settings are copied from the original inferior to the new one. All modifications to the environment variables done using the 'set environment' or 'unset environment' commands are also copied to the new inferior. ** Various new commands have been introduced 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-12.1-release -- Joel Brobecker
Hello, A quick message to announce that the GDB 12 branch has just been created. The prerelease snapshots will be available at: ftp://sourceware.org/pub/gdb/snapshots/branch/gdb.tar.xz The sources are also accessible via GIT: git clone --single-branch --branch=gdb-12-branch git://sourceware.org/git/binutils-gdb.git This announcement has also been posted on the GDB web site at: http://www.sourceware.org/gdb/
GDB 11.2 released! Release 11.2 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Fortran, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU FTP server in the directory: ftp://ftp.gnu.org/gnu/gdb The vital stats: Size md5sum Name 22MiB 433bd0904caa31c247b1b1867f2f911d gdb-11.2.tar.xz 37MiB b5674bef1fbd6beead889f80afa6f269 gdb-11.2.tar.gz There is a web page for GDB at: https://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. GDB 11.2 brings the following fixes and enhancements over GDB 11.1: * PR sim/28302 (gdb fails to build with glibc 2.34) * PR build/28318 (std::thread support configure check does not use CXX_DIALECT) * PR gdb/28405 (arm-none-eabi: internal-error: ptid_t remote_target::select_thread_for_ambiguous_stop_reply(const target_waitstatus*): Assertion `first_resumed_thread != nullptr' failed) * PR tui/28483 ([gdb/tui] breakpoint creation not displayed) * PR build/28555 (uclibc compile failure since commit 4655f8509fd44e6efabefa373650d9982ff37fd6) * PR rust/28637 (Rust characters will be encoded using DW_ATE_UTF) * PR gdb/28758 (GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section) * PR gdb/28785 (Support SHT_RELR (.relr.dyn) section) GDB 11.1 includes the following changes and enhancements: * Support for ARM Symbian (arm*-*-symbianelf*) has been removed. * Building GDB now requires GMP (The GNU Multiple Precision Arithmetic Library). * New command-line options "--early-init-command" (or "-eix") and "--early-init-eval-command" (or "-eiex") * GDB/MI Changes: ** New --qualified option for the '-break-insert' and '-dprintf-insert' commands. ** New --force-condition option for the '-break-insert' and '-dprintf-insert' commands. ** New --force option for the '-break-condition' command. ** The '-file-list-exec-source-files' now accepts an optional regular expression to filter the source files included in the result. ** The results from '-file-list-exec-source-files' now include a 'debug-fully-read' field to indicate if the corresponding source's debugging information has been partially read (false) or has been fully read (true). * TUI Improvements: ** Mouse actions are now supported. The mouse wheel scrolls the appropriate window. ** Key combinations that do not have a specific action on the focused window are now passed to GDB. * Python enhancements: ** Inferior objects now contain a read-only 'connection_num' attribute that gives the connection number as seen in 'info connections' and 'info inferiors'. ** New method gdb.Frame.level() which returns the stack level of the frame object. ** New method gdb.PendingFrame.level() which returns the stack level of the frame object. ** When hitting a catchpoint, the Python API will now emit a gdb.BreakpointEvent rather than a gdb.StopEvent. The gdb.Breakpoint attached to the event will have type BP_CATCHPOINT. ** Python TUI windows can now receive mouse click events. If the Window object implements the click method, it is called for each mouse click event in this window. ** New setting "python ignore-environment on|off"; if "on", causes GDB's builtin Python to ignore any environment variable that would otherwise affect how Python behaves (needs to be set during "early initialization" (see above). ** New setting "python dont-write-bytecode auto|on|off". * Guile API enhancements: ** Improved support for rvalue reference values. ** New procedures for obtaining value variants: value-reference-value, value-rvalue-reference-value and value-const-value. * New "qMemTags" and "QMemTags" remote protocol packets (associated with Memory Tagging). * GDB will now look for the .gdbinit file in a config directory before looking for ~/.gdbinit. The file is searched for in the following locations: $XDG_CONFIG_HOME/gdb/gdbinit, $HOME/.config/gdb/gdbinit, $HOME/.gdbinit. On Apple hosts the search order is instead: $HOME/Library/Preferences/gdb/gdbinit, $HOME/.gdbinit. * The "break [...] if CONDITION" command no longer returns an error when the condition is invalid at one or more locations. Instead, if the condition is valid at one or more locations, the locations where the condition is not valid are disabled. The behavior of the "condition" command is changed to match the new behavior of the "break" command. * Support for general memory tagging functionality (currently limited to AArch64 MTE) * Core file debugging now supported for x86_64 Cygwin programs. * New "org.gnu.gdb.riscv.vector" feature for RISC-V targets. * GDB now supports fixed point types which are described in DWARF as base types with a fixed-point encoding. Additionally, support for the DW_AT_GNU_numerator and DW_AT_GNU_denominator has also been added. * Miscellaneous: ** New "startup-quietly on|off" setting; when "on", behaves the same as passing the "-silent" option on the command line. ** New "print type hex on|off" setting; when 'on', the 'ptype' command uses hexadecimal notation to print sizes and offsets of struct members. When 'off', decimal notation is used. ** The "inferior" command, when run without argument, prints information about the current inferior. ** The "ptype" command now supports "/x" and "/d", affecting the base used to print sizes and offsets. ** The output of the "info source" has been restructured. ** New "style version foreground | background | intensity" commands to control the styling of the GDB version number. ** Various debug and maintenance commands (mostly useful for the GDB developers) 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-11.2-release -- Joel Brobecker
GDB 11.1 released! Release 11.1 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Fortran, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU FTP server in the directory: ftp://ftp.gnu.org/gnu/gdb The vital stats: Size md5sum Name 22MiB 257cb0f67927f79acf636d8c01e19990 gdb-11.1.tar.xz 37MiB eb6596d83bdccea06caa6d49d923e119 gdb-11.1.tar.gz There is a web page for GDB at: https://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. GDB 11.1 includes the following changes and enhancements: * Support for ARM Symbian (arm*-*-symbianelf*) has been removed. * Building GDB now requires GMP (The GNU Multiple Precision Arithmetic Library). * New command-line options "--early-init-command" (or "-eix") and "--early-init-eval-command" (or "-eiex") * GDB/MI Changes: ** New --qualified option for the '-break-insert' and '-dprintf-insert' commands. ** New --force-condition option for the '-break-insert' and '-dprintf-insert' commands. ** New --force option for the '-break-condition' command. ** The '-file-list-exec-source-files' now accepts an optional regular expression to filter the source files included in the result. ** The results from '-file-list-exec-source-files' now include a 'debug-fully-read' field to indicate if the corresponding source's debugging information has been partially read (false) or has been fully read (true). * TUI Improvements: ** Mouse actions are now supported. The mouse wheel scrolls the appropriate window. ** Key combinations that do not have a specific action on the focused window are now passed to GDB. * Python enhancements: ** Inferior objects now contain a read-only 'connection_num' attribute that gives the connection number as seen in 'info connections' and 'info inferiors'. ** New method gdb.Frame.level() which returns the stack level of the frame object. ** New method gdb.PendingFrame.level() which returns the stack level of the frame object. ** When hitting a catchpoint, the Python API will now emit a gdb.BreakpointEvent rather than a gdb.StopEvent. The gdb.Breakpoint attached to the event will have type BP_CATCHPOINT. ** Python TUI windows can now receive mouse click events. If the Window object implements the click method, it is called for each mouse click event in this window. ** New setting "python ignore-environment on|off"; if "on", causes GDB's builtin Python to ignore any environment variable that would otherwise affect how Python behaves (needs to be set during "early initialization" (see above). ** New setting "python dont-write-bytecode auto|on|off". * Guile API enhancements: ** Improved support for rvalue reference values. ** New procedures for obtaining value variants: value-reference-value, value-rvalue-reference-value and value-const-value. * New "qMemTags" and "QMemTags" remote protocol packets (associated with Memory Tagging). * GDB will now look for the .gdbinit file in a config directory before looking for ~/.gdbinit. The file is searched for in the following locations: $XDG_CONFIG_HOME/gdb/gdbinit, $HOME/.config/gdb/gdbinit, $HOME/.gdbinit. On Apple hosts the search order is instead: $HOME/Library/Preferences/gdb/gdbinit, $HOME/.gdbinit. * The "break [...] if CONDITION" command no longer returns an error when the condition is invalid at one or more locations. Instead, if the condition is valid at one or more locations, the locations where the condition is not valid are disabled. The behavior of the "condition" command is changed to match the new behavior of the "break" command. * Support for general memory tagging functionality (currently limited to AArch64 MTE) * Core file debugging now supported for x86_64 Cygwin programs. * New "org.gnu.gdb.riscv.vector" feature for RISC-V targets. * GDB now supports fixed point types which are described in DWARF as base types with a fixed-point encoding. Additionally, support for the DW_AT_GNU_numerator and DW_AT_GNU_denominator has also been added. * Miscellaneous: ** New "startup-quietly on|off" setting; when "on", behaves the same as passing the "-silent" option on the command line. ** New "print type hex on|off" setting; when 'on', the 'ptype' command uses hexadecimal notation to print sizes and offsets of struct members. When 'off', decimal notation is used. ** The "inferior" command, when run without argument, prints information about the current inferior. ** The "ptype" command now supports "/x" and "/d", affecting the base used to print sizes and offsets. ** The output of the "info source" has been restructured. ** New "style version foreground | background | intensity" commands to control the styling of the GDB version number. ** Various debug and maintenance commands (mostly useful for the GDB developers) 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-11.1-release -- Joel Brobecker
Hello, A quick message to announce that the GDB 11 branch has just been created. The prerelease snapshots will be available at: ftp://sourceware.org/pub/gdb/snapshots/branch/gdb.tar.xz The sources are also accessible via GIT: git clone --single-branch --branch=gdb-11-branch git://sourceware.org/git/binutils-gdb.git This announcement has also been posted on the GDB web site at: http://www.sourceware.org/gdb/
GDB 10.2 released! Release 10.2 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Fortran, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU FTP server in the directory: ftp://ftp.gnu.org/gnu/gdb The vital stats: Size md5sum Name 21MiB c044b7146903ec51c9d2337a29aee93b gdb-10.2.tar.xz 39MiB 7aeb896762924ae9a2ec59525088bada gdb-10.2.tar.gz There is a web page for GDB at: http://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. GDB 10.2 brings the following fixes and enhancements over GDB 10.1: * PR remote/26614 (AddressSanitizer: heap-use-after-free of extended_remote_target in remote_async_inferior_event_handler) * PR gdb/26828 (SIGSEGV in follow_die_offset dwarf2/read.c:22950) * PR gdb/26861 (internal-error: void target_mourn_inferior(ptid_t): Assertion `ptid == inferior_ptid' failed. OS: Mac OSX Catalina; Compiler: GCC; Language: C) * PR gdb/26876 (gdb error: internal-error: Unknown CFA rule when debugging the linux kernel with qemu) * PR breakpoints/26881 (infrun.c:6384: internal-error: void process_event_stop_test(execution_control_state*): Assertion `ecs->event_thread->control.exception_resume_breakpoint != NULL' failed) * PR gdb/26901 (Array subscript fails with flexible array member without size) * PR tui/26973 (gdb crashes when not including the status window in a new layout) * PR python/26974 (Wrong Value.format_string docu for static members argument) * PR breakpoints/27009 ([s390] GDB branches randomly for BC instruction while displaced stepping) * PR tdep/27015 (ARC: "eret" value is collected from the wrong data in register cache) * PR backtrace/27147 ([GNU/Linux, sparc64] GDB is unable to print full stack trace (got "previous frame inner to this frame" errors)) * PR rust/27194 (put rust demangler on 10.x branch) * PR threads/27239 (gdb/cp-support.c:1619:(.text+0x5502): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `TLS init function for thread_local_segv_handler') * PR breakpoints/27330 (nextoverthrow.exp FAILs on arm-none-eabi) * PR symtab/27333 ([dwarf-5] abort on unhandled DW_TAG_type_unit in process_psymtab_comp_unit) * PR fortran/27341 ([dwarf-5] FAIL: gdb.fortran/function-calls.exp: p derived_types_and_module_calls::pass_cart_nd(c_nd)) * PR tdep/27369 (ARC: Stepping over atomic instruction sequences loops infinitely) * PR build/27385 (Cannot compile arc.c with gcc-4.8 (error: no matching function for call to 'std::pair...')) * PR gdb/27435 (Attach on solaris segfaults GDB) * PR build/27535 (amd64-linux-siginfo.c fails to compile after updating to glibc-2.33 headers) * PR build/27536 (aarch64-linux-hw-point.c fails to compile after updating to glibc-2.33) * PR symtab/27541 (gdb crashes on "file -readnow") * PR gdb/27750 (local variables have wrong address and values on sparc64) * PR varobj/27757 (-var-list-children coredump) GDB 10.1 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* 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-10.2-release -- Joel Brobecker
GDB 10.1 released! Release 10.1 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Fortran, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU FTP server in the directory: ftp://ftp.gnu.org/gnu/gdb The vital stats: Size md5sum Name 21MiB 1822a7dd45e7813f4408407eec1a6af1 gdb-10.1.tar.xz 39MiB 67b01c95c88ab8e05a08680904bd6c92 gdb-10.1.tar.gz There is a web page for GDB at: http://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. GDB 10.1 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* 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-10.1-release -- Joel Brobecker
Hello, A quick message to announce that the GDB 10 branch has just been created. The prerelease snapshots will be available at: ftp://sourceware.org/pub/gdb/snapshots/branch/gdb.tar.xz ftp://sourceware.org/pub/gdb/snapshots/branch/gdb.tar.gz The sources are also accessible via GIT: git clone --single-branch --branch=gdb-10-branch git://sourceware.org/git/binutils-gdb.git This announcement has also been posted on the GDB web site at: http://www.sourceware.org/gdb/
Hi, Just a note that unless somebody steps up to maintain them, the GDBserver ports mentioned in the subject of this message will be removed. See this patch series for the concrete proposal: https://sourceware.org/pipermail/gdb-patches/2020-May/168533.html A corresponding discussion happened on gdb-patches here: https://sourceware.org/pipermail/gdb-patches/2020-May/168361.html ... with a consensus amonst developers for the removal of these ports. This is step 3 in the following procedure: https://sourceware.org/gdb/wiki/Internals%20Obsoleting-code Simon
GDB 9.2 released! Release 9.2 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU FTP server in the directory: ftp://ftp.gnu.org/gnu/gdb The vital stats: Size md5sum Name 21MiB db95524e554870209ab7d9f8fd8dc557 gdb-9.2.tar.xz 38MiB 3899ef01c672b19ec63ced445b8abc42 gdb-9.2.tar.gz There is a web page for GDB at: http://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. GDB 9.2 brings the following fixes and enhancements over GDB 9.1: * PR tui/25586 (Resizing the source/disassembly or command window produces corrupted display) * PR gdb/25650 (GDB can't 'printf' a convenience variable holding an inferior address) * PR build/25981 (Use of short i386 register names breaks compilation on recent Solaris 11.4) * PR symtab/26003 (infinite loop loading symbols from separate debug objfile) * PR build/26029 (GDB build failure on SPARC) 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.2-release -- Joel Brobecker
GDB 9.1 released! Release 9.1 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU FTP server in the directory: ftp://ftp.gnu.org/gnu/gdb The vital stats: Size md5sum Name 21MiB f7e9f6236c425097d9e5f18a6ac40655 gdb-9.1.tar.xz 38MiB b6f0807334c273c78fd17df0f9b1c13a gdb-9.1.tar.gz There is a web page for GDB at: http://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. 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 -- Joel Brobecker
Hello, A quick message to announce that the GDB 9 branch has just been created. The prerelease snapshots will be available at: ftp://sourceware.org/pub/gdb/snapshots/branch/gdb.tar.xz ftp://sourceware.org/pub/gdb/snapshots/branch/gdb.tar.gz The sources are also accessible via GIT: git clone --single-branch --branch=gdb-9-branch git://sourceware.org/git/binutils-gdb.git This announcement has also been posted on the GDB web site at: http://www.sourceware.org/gdb/
This is the final announcement of the upcoming obsoletion/removal of Solaris 10 support from GDB. It has already been proposed on gdb and gdb-patches https://sourceware.org/ml/gdb/2019-10/msg00008.html and the thread mentioned there. Unless someone steps up to take over maintenance and testing within a couple of days, the removal patch will be applied about a week from now. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University
GDB 8.3.1 released! Release 8.3.1 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU FTP server in the directory: ftp://ftp.gnu.org/gnu/gdb The vital stats: Size md5sum Name 20MiB 73b6a5d8141672c62bf851cd34c4aa83 gdb-8.3.1.tar.xz 37MiB 3c61672225a6a80875a5eea8cd25e2a0 gdb-8.3.1.tar.gz There is a web page for GDB at: http://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. GDB 8.3.1 brings the following fixes and enhancements over GDB 8.3: * PR c++/20020 (GDB segfault on printing objects) * PR gdb/24454 (nat/x86-linux-dregs.c failed assertion) * PR breakpoints/24541 (Incorrect evaluation of systemtap probes due to register being signed and probe expression assuming unsigned) * PR symtab/24545 (Symbol loading performance regression with cc1) * PR gdb/24592 (amd64->i386 linux syscall restart problem) * PR gdb/25009 (terminate called after throwing an instance of 'srchilite::ParserException') * PR gdb/25010 (Calls to error () can cause SIGTTOU to send gdb to the background) * PR breakpoints/25011 (Breakpoints on file reloads broken for PIE binaries) This corrective release also brings the following testsuite fixes and enhancements: * PR testsuite/25005 (gdb-caching-proc.exp takes a lot of time on skip_opencl_tests) * PR testsuite/25016 (Test-case failures for -pie) GDB 8.3 includes the following changes and enhancements: * Support for new native configurations (also available as a target configuration): - RISC-V GNU/Linux (riscv*-*-linux*) - RISC-V FreeBSD (riscv*-*-freebsd*) * Support for new target configurations: - CSKY ELF (csky*-*-elf) - CSKY GNU/Linux (csky*-*-linux) - NXP S12Z ELF (s12z-*-elf) - OpenRISC GNU/Linux (or1k*-*-linux*) * Native Windows debugging is only supported on Windows XP or later. * The Python API in GDB now requires Python 2.6 or later. * GDB now supports terminal styling for the CLI and TUI. Source highlighting is also supported by building GDB with GNU Highlight. * Experimental support for compilation and injection of C++ source code into the inferior (requires GCC 7.1 or higher, built with libcp1.so). * GDB and GDBserver now support IPv6 connections. * Target description support on RISC-V targets. * Various enhancements to several commands: - "frame", "select-frame" and "info frame" commands - "info functions", "info types", "info variables" - "info thread" - "info proc" - System call alias catchpoint support on FreeBSD - "target remote" support for Unix Domain sockets. * Support for displaying all files opened by a process * DWARF index cache: GDB can now automatically save indices of DWARF symbols on disk to speed up further loading of the same binaries. * Various GDB/MI enhancements. * GDBserver on PowerPC GNU/Linux now supports access to the PPR, DSCR, TAR, EBB/PMU, and HTM registers. * Ada task switching support when debugging programs built with the Ravenscar profile added to aarch64-elf. * GDB in batch mode now exits with status 1 if the last executed command failed. * Support for building GDB with GCC's Undefined Behavior Sanitizer. 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-8.3.1-release -- Joel Brobecker
GDB 8.3 released! Release 8.3 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU FTP server in the directory: ftp://ftp.gnu.org/gnu/gdb The vital stats: Size md5sum Name 20MiB bbd95b2f9b34621ad7a19a3965476314 gdb-8.3.tar.xz 37MiB b315e4e470ffe7454ba0c2ed8853c915 gdb-8.3.tar.gz There is a web page for GDB at: http://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. GDB 8.3 includes the following changes and enhancements: * Support for new native configurations (also available as a target configuration): - RISC-V GNU/Linux (riscv*-*-linux*) - RISC-V FreeBSD (riscv*-*-freebsd*) * Support for new target configurations: - CSKY ELF (csky*-*-elf) - CSKY GNU/Linux (csky*-*-linux) - NXP S12Z ELF (s12z-*-elf) - OpenRISC GNU/Linux (or1k*-*-linux*) * Native Windows debugging is only supported on Windows XP or later. * The Python API in GDB now requires Python 2.6 or later. * GDB now supports terminal styling for the CLI and TUI. Source highlighting is also supported by building GDB with GNU Highlight. * Experimental support for compilation and injection of C++ source code into the inferior (requires GCC 7.1 or higher, built with libcp1.so). * GDB and GDBserver now support IPv6 connections. * Target description support on RISC-V targets. * Various enhancements to several commands: - "frame", "select-frame" and "info frame" commands - "info functions", "info types", "info variables" - "info thread" - "info proc" - System call alias catchpoint support on FreeBSD - "target remote" support for Unix Domain sockets. * Support for displaying all files opened by a process * DWARF index cache: GDB can now automatically save indices of DWARF symbols on disk to speed up further loading of the same binaries. * Various GDB/MI enhancements. * GDBserver on PowerPC GNU/Linux now supports access to the PPR, DSCR, TAR, EBB/PMU, and HTM registers. * Ada task switching support when debugging programs built with the Ravenscar profile added to aarch64-elf. * GDB in batch mode now exits with status 1 if the last executed command failed. * Support for building GDB with GCC's Undefined Behavior Sanitizer. 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-8.3-release -- Joel Brobecker
Hello, A quick message to announce that the GDB 8.3 branch has just been created. The prerelease snapshots will be available at: ftp://sourceware.org/pub/gdb/snapshots/branch/gdb.tar.xz ftp://sourceware.org/pub/gdb/snapshots/branch/gdb.tar.gz The sources are also accessible via GIT: git clone --single-branch --branch=gdb-8.3-branch git://sourceware.org/git/binutils-gdb.git This announcement has also been posted on the GDB web site at: http://www.sourceware.org/gdb/
GDB 8.2.1 released! Release 8.2.1 of GDB, the GNU Debugger, is now available. GDB is a source-level debugger for Ada, C, C++, Go, Rust, and many other languages. GDB can target (i.e., debug programs running on) more than a dozen different processor architectures, and GDB itself can run on most popular GNU/Linux, Unix and Microsoft Windows variants. GDB is free (libre) software. You can download GDB from the GNU FTP server in the directory: ftp://ftp.gnu.org/gnu/gdb The vital stats: Size md5sum Name 20MiB f8b2562e830a4098dd5b5ea9e9296c70 gdb-8.2.1.tar.xz 36MiB 6a11cc642b626541777d9e5f96ae406f gdb-8.2.1.tar.gz There is a web page for GDB at: http://www.gnu.org/software/gdb/ That page includes information about GDB mailing lists (an announcement mailing list, developers discussion lists, etc.), details on how to access GDB's source repository, locations for development snapshots, preformatted documentation, and links to related information around the net. We will put errata notes and host-specific tips for this release on-line as any problems come up. All mailing lists archives are also browsable via the web. GDB 8.2.1 brings the following fixes and enhancements over GDB 8.2: * PR build/23516 (gdb build error under msys+mingw: strip can't handle gdb-add-index.exe) * PR build/23623 (install-strip fails) * PR rust/23626 (gdb crashes in upstream rust nil-enum test) * PR rust/23650 (rust field name access error mentions "foo") * PR gdb/23663 (gdb 8.1.1: undefined rpl_stat function with musl toolchains) * PR python/23669 (gdb.execute("show commands") doesn't work) * PR python/23714 (Command repetition stops working after gdb.execute) * PR gdb/23838 (8.2 regression for invalid -data-directory) * PR gdb/23974 ("info os" crash when specifying invalid object) * PR gdb/23999 (SYMBOL_LANGUAGE assertion failure on AIX) * PR gdb/24003 (Error when binary searching CUs for a specific DIE when using DWZ) GDB 8.2 includes the following changes and enhancements: * Support for the following target has been added: RiscV ELF riscv*-*-elf * Support for following targets and native configurations has been removed: m88k running OpenBSD m88*-*-openbsd* SH-5/SH64 ELF sh64-*-elf*, SH-5/SH64 support in sh* SH-5/SH64 running GNU/Linux SH-5/SH64 support in sh*-*-linux* SH-5/SH64 running OpenBSD SH-5/SH64 support in sh*-*-openbsd* * Various Python API enhancements * Aarch64/Linux enhancements: ** SVE support. ** Hardware watchpoints improvements for entities stored at unaligned addresses. * New "c" response to disable the pager for the rest of the current command. * C expressions can now use _Alignof, and C++ expressions can now use alignof. * Improved flexibility for loading symbol files. * The 'info proc' command nows works on running processes on FreeBSD systems as well as core files created on FreeBSD systems. * A new --enable-codesign=CERT configure option to automatically codesign GDB after build (useful on MacOS X). 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-8.2.1-release -- Joel Brobecker