head 1.1; branch 1.1.1; access; symbols netbsd-11-0-RC4:1.1.1.1 netbsd-11-0-RC3:1.1.1.1 gdb-17-1:1.1.1.3 netbsd-11-0-RC2:1.1.1.1 netbsd-11-0-RC1:1.1.1.1 gdb-16-3:1.1.1.2 perseant-exfatfs:1.1.1.1.0.4 perseant-exfatfs-base-20250801:1.1.1.1 netbsd-11:1.1.1.1.0.2 netbsd-11-base:1.1.1.1 gdb-15-1:1.1.1.1 FSF:1.1.1; locks; strict; comment @# @; 1.1 date 2024.08.12.21.37.50; author christos; state Exp; branches 1.1.1.1; next ; commitid dWD83H91pFit0AlF; 1.1.1.1 date 2024.08.12.21.37.50; author christos; state Exp; branches 1.1.1.1.4.1; next 1.1.1.2; commitid dWD83H91pFit0AlF; 1.1.1.2 date 2025.08.27.17.29.03; author christos; state Exp; branches; next 1.1.1.3; commitid vgUAu9EQfEWNko8G; 1.1.1.3 date 2026.03.14.20.43.18; author christos; state Exp; branches; next ; commitid FYd84EijbJAv3ZxG; 1.1.1.1.4.1 date 2024.08.12.21.37.50; author perseant; state dead; branches; next 1.1.1.1.4.2; commitid 23j6GFaDws3O875G; 1.1.1.1.4.2 date 2025.08.02.05.31.38; author perseant; state Exp; branches; next ; commitid 23j6GFaDws3O875G; desc @@ 1.1 log @Initial revision @ text @/* Copyright (C) 2019-2024 Free Software Foundation, Inc. This file is part of libctf. libctf is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not see . */ LIBCTF_1.0 { global: /* In libctf and libctf-nobfd. */ ctf_bufopen; ctf_simple_open; ctf_create; ctf_close; ctf_ref; ctf_file_close; ctf_cuname; ctf_cuname_set; ctf_parent_file; ctf_parent_name; ctf_parent_name_set; ctf_type_isparent; ctf_type_ischild; ctf_import; ctf_setmodel; ctf_getmodel; ctf_setspecific; ctf_getspecific; ctf_errno; ctf_errmsg; ctf_version; ctf_func_info; ctf_func_args; ctf_func_type_info; ctf_func_type_args; ctf_lookup_by_name; ctf_lookup_by_symbol; ctf_lookup_variable; ctf_type_resolve; ctf_type_lname; ctf_type_name; ctf_type_name_raw; ctf_type_aname; ctf_type_aname_raw; ctf_type_size; ctf_type_align; ctf_type_kind; ctf_type_kind_forwarded; ctf_type_reference; ctf_type_pointer; ctf_type_encoding; ctf_type_visit; ctf_type_cmp; ctf_type_compat; ctf_member_info; ctf_member_next; ctf_array_info; ctf_member_count; ctf_enum_name; ctf_enum_value; ctf_label_topmost; ctf_label_info; ctf_member_iter; ctf_enum_iter; ctf_enum_next; ctf_type_iter; ctf_type_next; ctf_type_iter_all; ctf_label_iter; ctf_variable_iter; ctf_variable_next; ctf_next_create; ctf_next_destroy; ctf_next_copy; ctf_add_array; ctf_add_const; ctf_add_enum; ctf_add_enum_encoded; ctf_add_float; ctf_add_forward; ctf_add_function; ctf_add_integer; ctf_add_pointer; ctf_add_type; ctf_add_typedef; ctf_add_restrict; ctf_add_slice; ctf_add_struct; ctf_add_union; ctf_add_struct_sized; ctf_add_union_sized; ctf_add_volatile; ctf_add_enumerator; ctf_add_member; ctf_add_member_offset; ctf_add_member_encoded; ctf_add_variable; ctf_set_array; ctf_update; ctf_discard; ctf_snapshot; ctf_rollback; ctf_write; ctf_write_mem; ctf_gzwrite; ctf_compress_write; ctf_getdatasect; ctf_arc_write; ctf_arc_write_fd; ctf_arc_bufopen; ctf_arc_close; ctf_arc_open_by_name; ctf_arc_open_by_name_sections; ctf_archive_count; ctf_archive_iter; ctf_archive_next; ctf_archive_raw_iter; ctf_get_arc; ctf_dump; ctf_setdebug; ctf_getdebug; ctf_errwarning_next; ctf_link_add_ctf; ctf_link_add_cu_mapping; ctf_link_set_memb_name_changer; ctf_link_set_variable_filter; ctf_link; ctf_link_add_strtab; ctf_link_shuffle_syms; ctf_link_write; local: *; }; LIBCTF_1.1 { global: ctf_dict_open; ctf_dict_open_sections; ctf_dict_close; ctf_parent_dict; ctf_symbol_next; ctf_add_objt_sym; ctf_add_func_sym; ctf_link_add_linker_symbol; ctf_arc_lookup_symbol; ctf_arc_flush_caches; ctf_getsymsect; ctf_getstrsect; ctf_symsect_endianness; ctf_arc_symsect_endianness; } LIBCTF_1.0; LIBCTF_1.2 { global: ctf_lookup_by_symbol_name; ctf_arc_lookup_symbol_name; ctf_add_unknown; } LIBCTF_1.1; @ 1.1.1.1 log @Import gdb-15.1, previous was 13.2 ChangeLog: 2024-03-20 Simon Marchi * .pre-commit-config.yaml: Bump black hook to 24.3.0 2024-03-20 Simon Marchi * .pre-commit-config.yaml: New. 2024-03-14 Simon Marchi * Makefile.def: Add configure-gdbserver and all-gdbserver dependencies on all-libiconv. * Makefile.in: Re-generate. 2024-01-15 Nick Clifton * 2.42 branch point. 2023-11-15 Arsen Arsenović * intl: Remove directory. Replaced with out-of-tree GNU gettext. * .gitignore: Add '/gettext*'. * configure.ac (host_libs): Replace intl with gettext. (hbaseargs, bbaseargs, baseargs): Split baseargs into {h,b}baseargs. (skip_barg): New flag. Skips appending current flag to bbaseargs. : Exempt --with-libintl-{type,prefix} from target and build machine argument passing. * configure: Regenerate. * Makefile.def (host_modules): Replace intl module with gettext module. (configure-ld): Depend on configure-gettext. * Makefile.in: Regenerate. * src-release.sh: Remove references to the intl/ directory. 2023-07-03 Nick Clifton 2.41 Branch Point. 2023-06-26 Nick Clifton * Import these updates to the config scripts commit 4ad4bb7c30aca1e705448ba8d51a210bbd47bb52 Author: Paul Eggert Date: Fri Jun 23 09:55:10 2023 -0700 Quote 'like this', not `like this'. commit 63acb96f92473ceb5e21d873d7c0aee266b3d6d3 Author: Paul Eggert Date: Sat Jan 21 00:15:01 2023 -0600 Fix config.sub spelling typo for "athlon" commit 4ce12a5c9125cedc0d0ba584444a6865396923ec Author: Dmitry V. Levin Date: Sun Jan 1 08:00:00 2023 +0000 Update copyright years commit c397e2c040bce50bcdccb131f90115ba7e8bfc19 Author: Arsen Arsenovi Date: Sat Sep 17 23:34:48 2022 +0200 config.sub: add linux-mlibc targets commit 9f9f9b0b13197269848c76e3e057a3ed0680b4bf Author: Arsen Arsenovi Date: Sat Sep 17 23:34:47 2022 +0200 config.guess: support running on Managarm systems commit 87e6687749da7bb2ab158a79fa83721c19ed9246 Author: Arsen Arsenovi Date: Sat Sep 17 23:34:46 2022 +0200 config.sub: add managarm-{mlibc,kernel} targets commit 20403c5701973a4cbd7e0b4bbeb627fcd424a0f1 Author: Xiaotian Wu Date: Mon Aug 1 16:05:29 2022 +0800 Remove loongarchx32 commit 02ba26b218d3d3db6c56e014655faf463cefa983 Author: Alexander von Gluck IV Date: Wed May 25 15:43:13 2022 -0500 config.guess: Update Haiku guesses commit f56a7140386d08a531bcfd444d632b28c61a6329 Author: Bruno Haible Date: Sun May 8 19:08:08 2022 +0200 config.guess (x86_64:Linux:*:*): Detect 32-bit ABI. 2023-04-20 Nick Clifton * SECURITY.txt: New file. * src-release.sh (DEVO_SUPPORT): Add SECURITY.txt. 2022-12-31 Nick Clifton * 2.40 binutils branch created. @ text @@ 1.1.1.2 log @Import gdb 16.3; previous was 15.1 April 20th, 2025: GDB 16.3 Released! The latest version of GDB, version 16.3, is available for download. This is a corrective release over GDB 16.2, fixing the following issues: PR symtab/32309 ([gdb/symtab, fission] gdb/dwarf2/read.h:289: internal-error: version: Assertion `m_dwarf_version != 0' failed) PR corefiles/32441 (gdb segfaults when generating a core file if target_fileio_read_alloc fails) PR tui/32623 (TUI console window doesn't update while inferior is running) PR corefiles/32634 ([gdb/corefiles] segfault in gdb.arch/i386-biarch-core.exp) PR backtrace/32757 ("Assertion `stashed' failed" when inline frame #0 is duplicated) PR tdep/32770 ([gdb/tdep, i386] FAIL: gdb.reverse/recvmsg-reverse.exp: continue to breakpoint: marker2) PR gdb/32775 ([AArch64] gdbserver crashes on SVE/SME-enabled systems) PR record/32784 ([gdb/record, aarch64] Stack smashing detected in aarch64_record_asimd_load_store) PR tui/32797 (Escape sequences to only reset foreground or background color to default fail) PR gdb/32828 (gstack regression: missing file names and line numbers) See the NEWS file for a more complete and detailed list of what this release includes. February 1st, 2025: GDB 16.2 Released! The latest version of GDB, version 16.2, is available for download. This is a corrective release over GDB 16.1, fixing the following issues: PR build/32578 (cannot build GDB 16.1 out of tree when calling the configure script with a relative path) PR tui/32592 ([gdb/tui] internal error in tui-winsource.c:340:refresh_window) PR remote/32593 (Incompatibilities between GDB's and LLDB's 'x' packet implementation) PR build/32610 (Missing #include file in darwin_nat.c) See the NEWS file for a more complete and detailed list of what this release includes. January 18th, 2025: GDB 16.1 Released! The latest version of GDB, version 16.1, is available for download. This version of GDB includes the following changes and enhancements: record/replay support now available on loongarch*-linux* GDB now supports watchpoints for tagged data pointers. MTE (Memory Tagging Extension) debugging is now supported on AArch64 baremetal. New bash script gstack uses GDB to print stack traces of running processes. Enhanced breakpoint support For breakpoints that are created in the 'pending' state, any 'thread' or 'task' keywords are parsed at the time the breakpoint is created, rather than at the time the breakpoint becomes non-pending. Thread-specific breakpoints are only inserted into the program space in which the thread of interest is running. Enhanced Intel Processor Trace support Support for printing of asynchronous events Support for printing of ptwrite payloads Changed commands The "remove-symbol-file -a ADDRESS" command now accepts a full expression as the ADDRESS. The "show configuration" command now prints the version of GNU readline that GDB is using. The "maintenance print remote-registers" now provides an "Expedited" column indicating which registers were included in the last stop reply packet received by GDB. Various command taking filenames as argument now require file names to be quoted if the argument contains white spaces or quote characters. Python API changes New module gdb.missing_objfile that facilitates dealing with missing objfiles when opening a core-file. GDB commands to query, enable and disable handlers created using this API have also been added. New event gdb.tui_enabled. Added the gdb.Symbol.is_artificial attribute. New gdb.record.clear function to clear the trace data of the current recording. The 'signed' argument to gdb.Architecture.integer_type() will no longer accept non-bool types. The gdb.MICommand.installed property can only be set to True or False. The 'qualified' argument to gdb.Breakpoint constructor will no longer accept non-bool types. Debugger Adapter Protocol changes The "scopes" request will now return a scope holding global variables from the stack frame's compilation unit. The "scopes" request will return a "returnValue" scope holding the return value from the latest "stepOut" command, when appropriate. The "launch" and "attach" requests were rewritten in accordance with some clarifications to the spec. Now they can be sent at any time after the "initialized" event, but will not take effect (or send a response) until after the "configurationDone" request has been sent. The "variables" request will not return artificial symbols. Remote Protocol New remote packet: vFile:stat New remote packet: x addr,length Miscellaneous The Ada 'Object_Size attribute is now supported. Styling now available for line numbers, GDB commands and header lines of lists. It is now possible to turn the warning emitted when specifying a language that does not match the current frame off. For ARM targets, the offset of the pc in the jmp_buf has been fixed to match glibc 2.20 and later. This should only matter when not using libc probes. This may cause breakage when using an incompatible libc, like uclibc or newlib, or an older glibc. Deprecated or removed Support for QNX Neutrino has been removed Support for Nios II targets has been removed Support for Intel MPX has been removed See the NEWS file for a more complete and detailed list of what this release includes. December 29th, 2024: GDB 16 branch created The GDB 16 branch (gdb-16-branch) has been created. To check out a copy of the branch use: git clone --branch gdb-16-branch https://sourceware.org/git/binutils-gdb.git September 29th, 2024: GDB 15.2 Released! The latest version of GDB, version 15.2, is available for download. This is a minor corrective release over GDB 15.1, fixing the following issues: PR gdb/31727 (-exec-next fails in mingw (infrun.c:2794: internal-error: resume_1: Assertion `pc_in_thread_step_range (pc, tp)' failed)) PR c++/31900 (libstdc++-prettyprinters/debug.cc print redirected fails since gdb-14-branchpoint-2123-g4e417d7bb1c) PR python/31946 (sys.exit from Python no longer exits the GDB process) PR record/31971 (Loading a saved record file asserts if we try to execute the inferior) PR gdb/32005 (frv_current_sos doesn't set solib::lm_info) PR exp/32015 (GDB crashes while printing large D array) PR gdb/32025 (Fatal error when the disassemble command is interrupted with SIGINT) PR gdb/32143 ([15 Regression] arch/amd64.c:71: internal-error: amd64_create_target_description: Assertion `!is_x32' failed) PR symtab/32158 ([gdb/symtab] enum class enumerator has incorrect parent in cooked index) PR symtab/32160 ([gdb/symtab] Parent map: die parent or scope parent?) See the NEWS file for a more complete and detailed list of what this release includes. @ text @a195 9 LIBCTF_1.3 { global: ctf_lookup_enumerator; ctf_lookup_enumerator_next; ctf_arc_lookup_enumerator_next; ctf_dict_set_flag; ctf_dict_get_flag; } LIBCTF_1.2; @ 1.1.1.3 log @Import gdb-17.1, previous was 16.3 This version of GDB includes the following changes and enhancements: * x86-64 CET shadow stack support * Debugging Linux programs that use AArch64 Guarded Control Stacks * GDB record feature now supports rv64gc architectures * 'info threads' command support for two new options '-stopped' and '-running' to limit the list of displayed threads. * On Linux and FreeBSD, the addresses shown by the 'info sharedlibrary' command are now for the full memory range allocated to the shared library. * Linux checkpoints now work with multiple inferiors * Improved linker namespace support * Warnings and error messages now start with an emoji (warning sign, or cross mark) if supported by the host charset. Configurable. * Built-in support for TLS on Linux as backup when libthread_db is not available. Supported on the x86_64, aarch64, ppc64, s390x, and riscv architectures, when compiled with GLIBC or MUSL. * New command "set riscv numeric-register-names" to display risc-v registers using their numeric names instead of their ABI names. * The Alpha target now supports target descriptions. Python API enhancements: * New class gdb.Color for dealing with colors, and new constant gdb.PARAM_COLOR * New gdb.ParameterPrefix class, to create new 'set/show' command prefixes. * New attribute gdb.Value.is_unavailable, this checks for unavailability like gdb.Value.is_optimized_out checks for optimized out values. * New gdb.warning() function to print a warning message, with GDB's standard 'warning' prefix (see emoji support entry below) * gdb.execute has an additional 'styling' argument. * Prefix commands (gdb.Command sub-classes) that don't have an invoke method now behave like builtin prefix commands when invoked without a sub-command name. * Setting the documentation string (__doc__) of a gdb.Parameter sub-class to the empty string, means GDB will only display the set_doc or show_doc strings in the set/show help output. Guile API enhancements: * New type for dealing with colors and constant PARAM_COLOR * Prefix commands (using make-command) that don't have a #:invoke property will now behave like builtin prefix commands when invoked without a sub-command name. * Eliding the #:doc string from make-parameter now means that GDB will use a default documentation string. * Setting #:doc to the empty string for make-parameter means GDB will only display the #:set_doc or #:show_doc strings in the set/show help output. Debugger Adapter Protocol changes: * GDB now supports the "completions" request. * New "--binary-output" command line option to disable LF translations (Windows only) New convenience variables: * $_colorsupport providing a comma-separated list of color space names supported by the terminal. * $linker_namespace_count and $_linker_namespace provide the list of active linker namespaces. Remote package additions and changes: * New 'binary-upload+' value in qSupported reply * The 'vFile:stat' command implementation has been corrected to use stat rather than lstat. * New vFile:lstat packet, useful for handling symbolic links * Support for the "id_str" attribute in 'qXfer:threads:read' XML answer. GDB/MI changes: * The =library-unloaded event now includes the 'ranges' field and the 'still-in-use' field. Configure changes: * Ability to select which file formats to include support for * New option --disable-gdb-compile to disable support for the compile subsystem. * New option --disable-gdb-dwarf-support to disable support for DWARF debug information in GDB. * New option --disable-gdb-mdebug-support to disable support for mdebug/ecoff debug information. Incompatible changes: * Support for Python versions older than 3.4 has been removed * Support for stabs debugging format and the a.out/dbx object format is deprecated, and will be removed in GDB 18. * UST (static tracepoint) gdbserver support has been removed @ text @d1 1 a1 1 /* Copyright (C) 2019-2025 Free Software Foundation, Inc. @ 1.1.1.1.4.1 log @file libctf-nobfd.ver was added on branch perseant-exfatfs on 2025-08-02 05:31:38 +0000 @ text @d1 195 @ 1.1.1.1.4.2 log @Sync with HEAD @ text @a0 195 /* Copyright (C) 2019-2024 Free Software Foundation, Inc. This file is part of libctf. libctf is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not see . */ LIBCTF_1.0 { global: /* In libctf and libctf-nobfd. */ ctf_bufopen; ctf_simple_open; ctf_create; ctf_close; ctf_ref; ctf_file_close; ctf_cuname; ctf_cuname_set; ctf_parent_file; ctf_parent_name; ctf_parent_name_set; ctf_type_isparent; ctf_type_ischild; ctf_import; ctf_setmodel; ctf_getmodel; ctf_setspecific; ctf_getspecific; ctf_errno; ctf_errmsg; ctf_version; ctf_func_info; ctf_func_args; ctf_func_type_info; ctf_func_type_args; ctf_lookup_by_name; ctf_lookup_by_symbol; ctf_lookup_variable; ctf_type_resolve; ctf_type_lname; ctf_type_name; ctf_type_name_raw; ctf_type_aname; ctf_type_aname_raw; ctf_type_size; ctf_type_align; ctf_type_kind; ctf_type_kind_forwarded; ctf_type_reference; ctf_type_pointer; ctf_type_encoding; ctf_type_visit; ctf_type_cmp; ctf_type_compat; ctf_member_info; ctf_member_next; ctf_array_info; ctf_member_count; ctf_enum_name; ctf_enum_value; ctf_label_topmost; ctf_label_info; ctf_member_iter; ctf_enum_iter; ctf_enum_next; ctf_type_iter; ctf_type_next; ctf_type_iter_all; ctf_label_iter; ctf_variable_iter; ctf_variable_next; ctf_next_create; ctf_next_destroy; ctf_next_copy; ctf_add_array; ctf_add_const; ctf_add_enum; ctf_add_enum_encoded; ctf_add_float; ctf_add_forward; ctf_add_function; ctf_add_integer; ctf_add_pointer; ctf_add_type; ctf_add_typedef; ctf_add_restrict; ctf_add_slice; ctf_add_struct; ctf_add_union; ctf_add_struct_sized; ctf_add_union_sized; ctf_add_volatile; ctf_add_enumerator; ctf_add_member; ctf_add_member_offset; ctf_add_member_encoded; ctf_add_variable; ctf_set_array; ctf_update; ctf_discard; ctf_snapshot; ctf_rollback; ctf_write; ctf_write_mem; ctf_gzwrite; ctf_compress_write; ctf_getdatasect; ctf_arc_write; ctf_arc_write_fd; ctf_arc_bufopen; ctf_arc_close; ctf_arc_open_by_name; ctf_arc_open_by_name_sections; ctf_archive_count; ctf_archive_iter; ctf_archive_next; ctf_archive_raw_iter; ctf_get_arc; ctf_dump; ctf_setdebug; ctf_getdebug; ctf_errwarning_next; ctf_link_add_ctf; ctf_link_add_cu_mapping; ctf_link_set_memb_name_changer; ctf_link_set_variable_filter; ctf_link; ctf_link_add_strtab; ctf_link_shuffle_syms; ctf_link_write; local: *; }; LIBCTF_1.1 { global: ctf_dict_open; ctf_dict_open_sections; ctf_dict_close; ctf_parent_dict; ctf_symbol_next; ctf_add_objt_sym; ctf_add_func_sym; ctf_link_add_linker_symbol; ctf_arc_lookup_symbol; ctf_arc_flush_caches; ctf_getsymsect; ctf_getstrsect; ctf_symsect_endianness; ctf_arc_symsect_endianness; } LIBCTF_1.0; LIBCTF_1.2 { global: ctf_lookup_by_symbol_name; ctf_arc_lookup_symbol_name; ctf_add_unknown; } LIBCTF_1.1; @