- Issued:
- 2015-11-16
- Updated:
- 2015-11-16
RHEA-2015:2039 - Product Enhancement Advisory
Synopsis
new packages: devtoolset-4-gdb
Type/Severity
Product Enhancement Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
New devtoolset-4-gdb packages are now available as a part of Red Hat Developer
Toolset 4.0 for Red Hat Enterprise Linux.
Description
The GNU Debugger (GDB) allows users to debug programs written in various
programming languages including C, C++, and Fortran. The devtoolset-4-gdb
packages provide the Red Hat Developer Toolset version of GDB.
This enhancement update adds the devtoolset-4-gdb packages to Red Hat Developer
Toolset 4.0 for Red Hat Enterprise Linux. These packages include GDB 7.10, which
is the latest stable release of GDB. It provides numerous bug fixes and
enhancements over the version included in Red Hat Developer Toolset 3.1. Among
others:
- GDB now honors the content of the /proc/PID/coredump_filter file for the
"gcore" command. GDB also introduces a new command: "set use-coredump-filter
on|off". Previously, GDB could generate needlessly large core files.
- The "info source" command can now be run to display the compiler version and
command-line arguments used for compiling the debugged program if these were
included in the debugging information.
- GDB can now transparently debug processes in containers. This is enabled by
the new automatic location and retrieval of executable files from remote
targets. GDB and gdbserver are now also able to access executable and shared
library files without the "set sysroot" and "file" commands when attaching to
processes running in different mount namespaces from the debugger.
- The HISTSIZE environment variable has been deprecated; use the GDBHISTSIZE
variable instead.
- Support for fork events on extended-remote Linux targets has been added.
- GDB now supports the compilation and injection of source code into the
inferior. GDB will use GCC 5.0 or higher built with libcc1.so to compile the
source code to object code, and if successful, inject and execute that code
within the current context of the inferior. Currently, the C language is
supported. See sub-commands starting with "compile".
- GDB now supports a new command, "queue-signal", to queue a signal to be
delivered to the thread when it is later resumed.
- GDB can now limit the maximum number of candidates to be considered during
tab-completion by the "set max-completions" command. This is to prevent debugger
from becoming temporarily unresponsive on a large number of candidates.
- Auto-loading of Python scripts contained in the .debug_gdb_scripts special
section is now supported.
- For details regarding further changes, for example, new remote packets, Python
scripting support, new commands, or new command-line options, see Appendix A.6.
Changes in GDB in the Red Hat Developer Toolset 4.0 User Guide linked from the
References section below.
(BZ#1223958)
This update also fixes the following bug:
- Red Hat Developer Toolset version of GDB bundles Python Pretty Printers for
Red Hat Developer Toolset GCC's libstdc++ data types (such as "unordered_map"
template). This is because Red Hat Developer Toolset GCC supports more data
types than the standard system Red Hat Enterprise Linux GCC and therefore the
standard system Python Pretty Printers are insufficient for Red Hat Developer
Toolset GDB. These Pretty Printers are used only in the Red Hat Developer
Toolset deployment of GDB. Prior to this update, Red Hat Developer Toolset GDB
contained bundled Pretty Printers from an earlier version of GCC than the one
shipped in Red Hat Developer Toolset as the mentioned GDB. Consequently, certain
data types (particularly the C++11 ones) produced by Red Hat Developer Toolset
GCC were unsupported by Red Hat Developer Toolset GDB in Red Hat Developer
Toolset. This bug has been fixed, Red Hat Developer Toolset GDB's bundled Pretty
Printers now match those of Red Hat Developer Toolset GCC. As a result, C++11
data types (such as "unordered_map" template) can be printed in a human readable
form by the associated Pretty Printer. (BZ#1239290)
All users who require devtoolset-4-gdb are advised to install these new
packages.
Solution
Before applying this update, make sure all previously released errata
relevant to your system have been applied.
For details on how to apply this update, refer to:
Affected Products
- Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.7 x86_64
- Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.6 x86_64
- Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.5 x86_64
- Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.4 x86_64
- Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.3 x86_64
- Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.2 x86_64
- Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.1 x86_64
- Red Hat Software Collections (for RHEL Server) 1 for RHEL 7 x86_64
- Red Hat Software Collections (for RHEL Server) 1 for RHEL 6.7 x86_64
- Red Hat Software Collections (for RHEL Server) 1 for RHEL 6.6 x86_64
- Red Hat Software Collections (for RHEL Server) 1 for RHEL 6 x86_64
- Red Hat Software Collections (for RHEL Workstation) 1 for RHEL 7 x86_64
- Red Hat Software Collections (for RHEL Workstation) 1 for RHEL 6 x86_64
- Red Hat Software Collections (for RHEL Server) from RHUI 1 for RHEL 7 x86_64
- Red Hat Software Collections (for RHEL Server) from RHUI 1 for RHEL 6 x86_64
Fixes
- BZ - 1262589 - gstack in DTS defaults to "/usr/bin/gdb"
CVEs
(none)
Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.7
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el7.src.rpm | SHA-256: 9821b6c20c0a1c3afb68bfb42ca27ee9726f674380b674d217adfb5a661a5ab1 |
x86_64 | |
devtoolset-4-gdb-7.10-20.el7.x86_64.rpm | SHA-256: 61cf501c55e6d3a63ed1c2f38997afe59b59a5c29508d689acaf03409fff3a9f |
devtoolset-4-gdb-debuginfo-7.10-20.el7.x86_64.rpm | SHA-256: 2221cfa9d2c770b209ccd593e5a73fb51c59902686ecbbcd4fcd1106da78c6f6 |
devtoolset-4-gdb-doc-7.10-20.el7.noarch.rpm | SHA-256: 8352953b098d340e7140ce3d9d790c6433b9ac8446e7c72ccb984de2cdc74fbd |
devtoolset-4-gdb-gdbserver-7.10-20.el7.x86_64.rpm | SHA-256: 99070518e4ef27c71c56a70561efc29babd74022122ee4081744a6cac4de6c89 |
Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.6
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el7.src.rpm | SHA-256: 9821b6c20c0a1c3afb68bfb42ca27ee9726f674380b674d217adfb5a661a5ab1 |
x86_64 | |
devtoolset-4-gdb-7.10-20.el7.x86_64.rpm | SHA-256: 61cf501c55e6d3a63ed1c2f38997afe59b59a5c29508d689acaf03409fff3a9f |
devtoolset-4-gdb-debuginfo-7.10-20.el7.x86_64.rpm | SHA-256: 2221cfa9d2c770b209ccd593e5a73fb51c59902686ecbbcd4fcd1106da78c6f6 |
devtoolset-4-gdb-doc-7.10-20.el7.noarch.rpm | SHA-256: 8352953b098d340e7140ce3d9d790c6433b9ac8446e7c72ccb984de2cdc74fbd |
devtoolset-4-gdb-gdbserver-7.10-20.el7.x86_64.rpm | SHA-256: 99070518e4ef27c71c56a70561efc29babd74022122ee4081744a6cac4de6c89 |
Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.5
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el7.src.rpm | SHA-256: 9821b6c20c0a1c3afb68bfb42ca27ee9726f674380b674d217adfb5a661a5ab1 |
x86_64 | |
devtoolset-4-gdb-7.10-20.el7.x86_64.rpm | SHA-256: 61cf501c55e6d3a63ed1c2f38997afe59b59a5c29508d689acaf03409fff3a9f |
devtoolset-4-gdb-debuginfo-7.10-20.el7.x86_64.rpm | SHA-256: 2221cfa9d2c770b209ccd593e5a73fb51c59902686ecbbcd4fcd1106da78c6f6 |
devtoolset-4-gdb-doc-7.10-20.el7.noarch.rpm | SHA-256: 8352953b098d340e7140ce3d9d790c6433b9ac8446e7c72ccb984de2cdc74fbd |
devtoolset-4-gdb-gdbserver-7.10-20.el7.x86_64.rpm | SHA-256: 99070518e4ef27c71c56a70561efc29babd74022122ee4081744a6cac4de6c89 |
Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.4
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el7.src.rpm | SHA-256: 9821b6c20c0a1c3afb68bfb42ca27ee9726f674380b674d217adfb5a661a5ab1 |
x86_64 | |
devtoolset-4-gdb-7.10-20.el7.x86_64.rpm | SHA-256: 61cf501c55e6d3a63ed1c2f38997afe59b59a5c29508d689acaf03409fff3a9f |
devtoolset-4-gdb-debuginfo-7.10-20.el7.x86_64.rpm | SHA-256: 2221cfa9d2c770b209ccd593e5a73fb51c59902686ecbbcd4fcd1106da78c6f6 |
devtoolset-4-gdb-doc-7.10-20.el7.noarch.rpm | SHA-256: 8352953b098d340e7140ce3d9d790c6433b9ac8446e7c72ccb984de2cdc74fbd |
devtoolset-4-gdb-gdbserver-7.10-20.el7.x86_64.rpm | SHA-256: 99070518e4ef27c71c56a70561efc29babd74022122ee4081744a6cac4de6c89 |
Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.3
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el7.src.rpm | SHA-256: 9821b6c20c0a1c3afb68bfb42ca27ee9726f674380b674d217adfb5a661a5ab1 |
x86_64 | |
devtoolset-4-gdb-7.10-20.el7.x86_64.rpm | SHA-256: 61cf501c55e6d3a63ed1c2f38997afe59b59a5c29508d689acaf03409fff3a9f |
devtoolset-4-gdb-debuginfo-7.10-20.el7.x86_64.rpm | SHA-256: 2221cfa9d2c770b209ccd593e5a73fb51c59902686ecbbcd4fcd1106da78c6f6 |
devtoolset-4-gdb-doc-7.10-20.el7.noarch.rpm | SHA-256: 8352953b098d340e7140ce3d9d790c6433b9ac8446e7c72ccb984de2cdc74fbd |
devtoolset-4-gdb-gdbserver-7.10-20.el7.x86_64.rpm | SHA-256: 99070518e4ef27c71c56a70561efc29babd74022122ee4081744a6cac4de6c89 |
Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.2
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el7.src.rpm | SHA-256: 9821b6c20c0a1c3afb68bfb42ca27ee9726f674380b674d217adfb5a661a5ab1 |
x86_64 | |
devtoolset-4-gdb-7.10-20.el7.x86_64.rpm | SHA-256: 61cf501c55e6d3a63ed1c2f38997afe59b59a5c29508d689acaf03409fff3a9f |
devtoolset-4-gdb-debuginfo-7.10-20.el7.x86_64.rpm | SHA-256: 2221cfa9d2c770b209ccd593e5a73fb51c59902686ecbbcd4fcd1106da78c6f6 |
devtoolset-4-gdb-doc-7.10-20.el7.noarch.rpm | SHA-256: 8352953b098d340e7140ce3d9d790c6433b9ac8446e7c72ccb984de2cdc74fbd |
devtoolset-4-gdb-gdbserver-7.10-20.el7.x86_64.rpm | SHA-256: 99070518e4ef27c71c56a70561efc29babd74022122ee4081744a6cac4de6c89 |
Red Hat Software Collections (for RHEL Server) 1 for RHEL 7.1
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el7.src.rpm | SHA-256: 9821b6c20c0a1c3afb68bfb42ca27ee9726f674380b674d217adfb5a661a5ab1 |
x86_64 | |
devtoolset-4-gdb-7.10-20.el7.x86_64.rpm | SHA-256: 61cf501c55e6d3a63ed1c2f38997afe59b59a5c29508d689acaf03409fff3a9f |
devtoolset-4-gdb-debuginfo-7.10-20.el7.x86_64.rpm | SHA-256: 2221cfa9d2c770b209ccd593e5a73fb51c59902686ecbbcd4fcd1106da78c6f6 |
devtoolset-4-gdb-doc-7.10-20.el7.noarch.rpm | SHA-256: 8352953b098d340e7140ce3d9d790c6433b9ac8446e7c72ccb984de2cdc74fbd |
devtoolset-4-gdb-gdbserver-7.10-20.el7.x86_64.rpm | SHA-256: 99070518e4ef27c71c56a70561efc29babd74022122ee4081744a6cac4de6c89 |
Red Hat Software Collections (for RHEL Server) 1 for RHEL 7
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el7.src.rpm | SHA-256: 9821b6c20c0a1c3afb68bfb42ca27ee9726f674380b674d217adfb5a661a5ab1 |
x86_64 | |
devtoolset-4-gdb-7.10-20.el7.x86_64.rpm | SHA-256: 61cf501c55e6d3a63ed1c2f38997afe59b59a5c29508d689acaf03409fff3a9f |
devtoolset-4-gdb-debuginfo-7.10-20.el7.x86_64.rpm | SHA-256: 2221cfa9d2c770b209ccd593e5a73fb51c59902686ecbbcd4fcd1106da78c6f6 |
devtoolset-4-gdb-doc-7.10-20.el7.noarch.rpm | SHA-256: 8352953b098d340e7140ce3d9d790c6433b9ac8446e7c72ccb984de2cdc74fbd |
devtoolset-4-gdb-gdbserver-7.10-20.el7.x86_64.rpm | SHA-256: 99070518e4ef27c71c56a70561efc29babd74022122ee4081744a6cac4de6c89 |
Red Hat Software Collections (for RHEL Server) 1 for RHEL 6.7
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el6.src.rpm | SHA-256: 7d6c6240fa29b41bc65913f6070c2a69a90ae7fc2aecec23450e9785ebf01a9d |
x86_64 | |
devtoolset-4-gdb-7.10-20.el6.x86_64.rpm | SHA-256: 2f9862f6e49ba9798707c3b7c06f4dcfd83501c0f6377eb19421fd8436a781a5 |
devtoolset-4-gdb-debuginfo-7.10-20.el6.x86_64.rpm | SHA-256: dd16fcdc183242c57316e685604db01b6487c2e39dedd2bcf3a922e48754449f |
devtoolset-4-gdb-doc-7.10-20.el6.noarch.rpm | SHA-256: 1a224c99abb9810e62ecf9327991f4cc2285cb8f32c90c5187068b01253d0a49 |
devtoolset-4-gdb-gdbserver-7.10-20.el6.x86_64.rpm | SHA-256: c9843d94430eaf8bb40514d0c4eb4124cb9ea5b3cb9a98ad51c29ab5f46c543f |
Red Hat Software Collections (for RHEL Server) 1 for RHEL 6.6
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el6.src.rpm | SHA-256: 7d6c6240fa29b41bc65913f6070c2a69a90ae7fc2aecec23450e9785ebf01a9d |
x86_64 | |
devtoolset-4-gdb-7.10-20.el6.x86_64.rpm | SHA-256: 2f9862f6e49ba9798707c3b7c06f4dcfd83501c0f6377eb19421fd8436a781a5 |
devtoolset-4-gdb-debuginfo-7.10-20.el6.x86_64.rpm | SHA-256: dd16fcdc183242c57316e685604db01b6487c2e39dedd2bcf3a922e48754449f |
devtoolset-4-gdb-doc-7.10-20.el6.noarch.rpm | SHA-256: 1a224c99abb9810e62ecf9327991f4cc2285cb8f32c90c5187068b01253d0a49 |
devtoolset-4-gdb-gdbserver-7.10-20.el6.x86_64.rpm | SHA-256: c9843d94430eaf8bb40514d0c4eb4124cb9ea5b3cb9a98ad51c29ab5f46c543f |
Red Hat Software Collections (for RHEL Server) 1 for RHEL 6
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el6.src.rpm | SHA-256: 7d6c6240fa29b41bc65913f6070c2a69a90ae7fc2aecec23450e9785ebf01a9d |
x86_64 | |
devtoolset-4-gdb-7.10-20.el6.x86_64.rpm | SHA-256: 2f9862f6e49ba9798707c3b7c06f4dcfd83501c0f6377eb19421fd8436a781a5 |
devtoolset-4-gdb-debuginfo-7.10-20.el6.x86_64.rpm | SHA-256: dd16fcdc183242c57316e685604db01b6487c2e39dedd2bcf3a922e48754449f |
devtoolset-4-gdb-doc-7.10-20.el6.noarch.rpm | SHA-256: 1a224c99abb9810e62ecf9327991f4cc2285cb8f32c90c5187068b01253d0a49 |
devtoolset-4-gdb-gdbserver-7.10-20.el6.x86_64.rpm | SHA-256: c9843d94430eaf8bb40514d0c4eb4124cb9ea5b3cb9a98ad51c29ab5f46c543f |
Red Hat Software Collections (for RHEL Workstation) 1 for RHEL 7
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el7.src.rpm | SHA-256: 9821b6c20c0a1c3afb68bfb42ca27ee9726f674380b674d217adfb5a661a5ab1 |
x86_64 | |
devtoolset-4-gdb-7.10-20.el7.x86_64.rpm | SHA-256: 61cf501c55e6d3a63ed1c2f38997afe59b59a5c29508d689acaf03409fff3a9f |
devtoolset-4-gdb-debuginfo-7.10-20.el7.x86_64.rpm | SHA-256: 2221cfa9d2c770b209ccd593e5a73fb51c59902686ecbbcd4fcd1106da78c6f6 |
devtoolset-4-gdb-doc-7.10-20.el7.noarch.rpm | SHA-256: 8352953b098d340e7140ce3d9d790c6433b9ac8446e7c72ccb984de2cdc74fbd |
devtoolset-4-gdb-gdbserver-7.10-20.el7.x86_64.rpm | SHA-256: 99070518e4ef27c71c56a70561efc29babd74022122ee4081744a6cac4de6c89 |
Red Hat Software Collections (for RHEL Workstation) 1 for RHEL 6
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el6.src.rpm | SHA-256: 7d6c6240fa29b41bc65913f6070c2a69a90ae7fc2aecec23450e9785ebf01a9d |
x86_64 | |
devtoolset-4-gdb-7.10-20.el6.x86_64.rpm | SHA-256: 2f9862f6e49ba9798707c3b7c06f4dcfd83501c0f6377eb19421fd8436a781a5 |
devtoolset-4-gdb-debuginfo-7.10-20.el6.x86_64.rpm | SHA-256: dd16fcdc183242c57316e685604db01b6487c2e39dedd2bcf3a922e48754449f |
devtoolset-4-gdb-doc-7.10-20.el6.noarch.rpm | SHA-256: 1a224c99abb9810e62ecf9327991f4cc2285cb8f32c90c5187068b01253d0a49 |
devtoolset-4-gdb-gdbserver-7.10-20.el6.x86_64.rpm | SHA-256: c9843d94430eaf8bb40514d0c4eb4124cb9ea5b3cb9a98ad51c29ab5f46c543f |
Red Hat Software Collections (for RHEL Server) from RHUI 1 for RHEL 7
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el7.src.rpm | SHA-256: 9821b6c20c0a1c3afb68bfb42ca27ee9726f674380b674d217adfb5a661a5ab1 |
x86_64 | |
devtoolset-4-gdb-7.10-20.el7.x86_64.rpm | SHA-256: 61cf501c55e6d3a63ed1c2f38997afe59b59a5c29508d689acaf03409fff3a9f |
devtoolset-4-gdb-debuginfo-7.10-20.el7.x86_64.rpm | SHA-256: 2221cfa9d2c770b209ccd593e5a73fb51c59902686ecbbcd4fcd1106da78c6f6 |
devtoolset-4-gdb-doc-7.10-20.el7.noarch.rpm | SHA-256: 8352953b098d340e7140ce3d9d790c6433b9ac8446e7c72ccb984de2cdc74fbd |
devtoolset-4-gdb-gdbserver-7.10-20.el7.x86_64.rpm | SHA-256: 99070518e4ef27c71c56a70561efc29babd74022122ee4081744a6cac4de6c89 |
Red Hat Software Collections (for RHEL Server) from RHUI 1 for RHEL 6
SRPM | |
---|---|
devtoolset-4-gdb-7.10-20.el6.src.rpm | SHA-256: 7d6c6240fa29b41bc65913f6070c2a69a90ae7fc2aecec23450e9785ebf01a9d |
x86_64 | |
devtoolset-4-gdb-7.10-20.el6.x86_64.rpm | SHA-256: 2f9862f6e49ba9798707c3b7c06f4dcfd83501c0f6377eb19421fd8436a781a5 |
devtoolset-4-gdb-debuginfo-7.10-20.el6.x86_64.rpm | SHA-256: dd16fcdc183242c57316e685604db01b6487c2e39dedd2bcf3a922e48754449f |
devtoolset-4-gdb-doc-7.10-20.el6.noarch.rpm | SHA-256: 1a224c99abb9810e62ecf9327991f4cc2285cb8f32c90c5187068b01253d0a49 |
devtoolset-4-gdb-gdbserver-7.10-20.el6.x86_64.rpm | SHA-256: c9843d94430eaf8bb40514d0c4eb4124cb9ea5b3cb9a98ad51c29ab5f46c543f |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.