Files
bpfire/lfs/gdb
Adolf Belka 9c51f71f2f gdb: Update to version 12.1
- Update from version 11.2 to 12.1
- Update of rootfile
- Changelog
   GDB 12.1 Released!
    This version of GDB 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 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
   GDB 11.2 Released!
    This is a minor corrective release over GDB 11.1, fixing the following issues:
        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)

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-05-30 19:24:43 +00:00

86 lines
3.3 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2018 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 = 12.1
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 = 7f6f853d1640908cf2c79932cdc1ba02549a07721c005d9c7ce2946a715761719cc164a4e68235a18664ec8a029afe3a2a0cfb57e1635f280076d6bed91317fd
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)