update 11.1 (2021-09-13) to 11.2 (2022-01-16)
Release Notes:
- https://www.sourceware.org/gdb/download/ANNOUNCEMENT
- https://www.sourceware.org/gdb/
- https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=gdb/NEWS;hb=gdb-11.2-release
January 16th, 2022: GDB 11.2 Released!
The latest version of GDB, version 11.2, is available for download.
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)
gdbserver is already present in the image but a remote/cross gdb
for the target arch was missing.
Add this so we can easily remote-debug programs.
Signed-off-by: Matthias Reichl <hias@horus.com>
Packages referencing variables defined in setup_toolchain such as CC, CXX,
AR, CFLAGS, LDFLAGS, HOST_CC etc. etc. must only reference these variables in
pre_build()/pre_configure()/pre_make() etc. functions, as the variables will not
be available when the package is sourced, but will be available after the call
to setup_toolchain() from scripts/build.
- replace strip_lto/strip_gold (only allowed to disable)
- add flag for PIC feature
- add flag to stop build parallel
- add support for hardening option (initial copy from debian 9)
All build parameters, are added in setup_toolchain.
`PKG_[FLAG]_[HOST/TARGET]_ENABLED` variable is introduced for checking the flag (yes/no) in the package.mk
Thanks to @MilhouseVH, for support and fixing