Files
bpfire/lfs/gdb
Adolf Belka 58e395e90a gdb: Update to version 14.2
- Update from version 13.2 to 14.2
- Update of rootfile
- Changelog
    14.2
	 This is a minor corrective release over GDB 14.1, fixing the following issues:
	    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)
    14.1
	This version of GDB 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

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-03-12 10:12:13 +00:00

86 lines
3.3 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2024 IPFire Team <info@ipfire.org> #
# #
# This program 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 of the License, 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. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
VER = 14.2
THISAPP = gdb-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 65765dfd1ed08e19bb881fc7ae98d6ee4914f38a9a2bb0d0ca73bef472669664f807fe9c04e8dffd7025be98e736ac52f88ff5851ceddbb01a361885b18befc8
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && mkdir -pv build
cd $(DIR_APP)/build && \
../configure \
--prefix=/usr \
--sysconfdir=/etc \
--disable-nls \
--enable-tui \
--with-system-readline \
--with-python=/usr/bin/python3
cd $(DIR_APP)/build && make $(MAKETUNING)
cd $(DIR_APP)/build && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)