- Issued:
- 2011-12-06
- Updated:
- 2011-12-06
RHBA-2011:1699 - Bug Fix Advisory
Synopsis
gdb bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
Updated gdb packages that fix multiple bugs and add three enhancements are now
available for Red Hat Enterprise Linux 6.
Description
The GNU Debugger (GDB) allows users to debug programs written in C, C++, and
other languages by executing them in a controlled fashion and then printing out
their data.
This update provides fixes for the following bugs:
- Prior to this update, GDB could stop on error when trying to access the
libpthread shared library before the library was relocated. Fixed GDB lets the
relocations to be resolved first, making such program debuggable. (BZ#669432)
- The Intel Fortran Compiler records certain debug info symbols in uppercase but
the gfortran compiler writes case-insensitive symbols in lowercase. As a result,
GDB could terminate unexpectedly when accessing uppercase characters in the
debug information from the Intel Fortran Compiler. With this update, GDB
properly implements case insensitivity and ignores the symbols case in the
symbol files. (BZ#669434)
- When the user selected the "-statistics" option with a negative number as a
result, GDB printed the minus sign twice. This has been fixed and GDB now
displays negative numbers with one minus sign only. (BZ#692386)
- On the PowerPC and the IBM System z architectures, GDB displayed only LWP
(light-weight process) identifiers which matched the Linux TID (Thread
Identifier) values for the threads found in the core file. GDB has been fixed to
initialize the libthread_db threads debugging library when accessing the core
file. GDB now correctly displays the pthread_t identifier in addition to the LWP
identifier on the aforementioned architectures. (BZ#697900)
- Structure field offsets above 65535 described by the DWARF
DW_AT_data_member_location attribute were improperly interpreted as a 0 value.
GDB has been modified and can now handle also large structures and their fields.
(BZ#702427)
- The difference between the very closely related "ptype" and "whatis" commands
was not clearly defined in the gdb info manual. Detailed differences between
these commands have been described in the manual. (BZ#704010)
- Prior to this update, the "info sources" subcommand printed only relative
paths to the source files. GDB has been modified to correctly display the full
path name to the source file. (BZ#712117)
- Modifying a string in the executable using the "-write" command line option
could fail with an error if the executable was not running. With this update,
GDB can modify executables even before they are started. (BZ#730475)
This update also adds the following enhancements:
- With this update, Float16 instructions on future Intel processors are now
supported. (BZ#696890)
- Debugged programs can open many shared libraries on demand at runtime using
the dlopen() function. Prior to this update, tracking shared libraries that were
in use by the debugged program could lead to overhead. The debugging performance
of GDB has been improved: the overhead is now lower if applications load many
objects. (BZ#698001)
- Prior to this update, GDB did not handle DWARF 4 .debug_types data correctly.
Now, GDB can correctly process data in the DWARF 4 format. (BZ#718141)
All GDB users are advised to upgrade to these updated gdb packages, which fix
these bugs and add these enhancements.
Solution
Before applying this update, make sure that all previously-released errata
relevant to your system have been applied.
This update is available via Red Hat Network. Details on how to use the Red Hat
Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259
Affected Products
- Red Hat Enterprise Linux Server 6 x86_64
- Red Hat Enterprise Linux Server 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 x86_64
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 i386
- Red Hat Enterprise Linux Workstation 6 x86_64
- Red Hat Enterprise Linux Workstation 6 i386
- Red Hat Enterprise Linux Desktop 6 x86_64
- Red Hat Enterprise Linux Desktop 6 i386
- Red Hat Enterprise Linux for IBM z Systems 6 s390x
- Red Hat Enterprise Linux for Power, big endian 6 ppc64
- Red Hat Enterprise Linux for Scientific Computing 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
- Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support 6 x86_64
Fixes
- BZ - 669434 - internal-error: print_frame_args: Assertion `nsym != NULL' failed
- BZ - 692386 - [6.1] '-statistics' option of gdb outputs '-' twice.
- BZ - 697900 - gdb: Linux core files should use linux-thread-db.c also on ppc and s390x
- BZ - 702427 - gdb cannot "handle" a large data structure
- BZ - 704010 - make gdb's help a bit clearer re: ptype & whatis
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 6
SRPM | |
---|---|
gdb-7.2-50.el6.src.rpm | SHA-256: 0f61de744ff1011aead2bbe1c1b8957811bb2bb29ff656f6f135452cabc39ab2 |
x86_64 | |
gdb-7.2-50.el6.x86_64.rpm | SHA-256: fd3e73557205129daf68ec75f7e52642f23c7089b55c016a0e8fe98cf9b413af |
gdb-debuginfo-7.2-50.el6.x86_64.rpm | SHA-256: 4f3d51aacf7f2dc98889935fc017aa6c7dd54d867ffb0bdd2325b2efc6551a73 |
gdb-gdbserver-7.2-50.el6.x86_64.rpm | SHA-256: 76d81e795c9adc83c347d16c2e92033896e92e8b7b22f5cc16ad779f11aebe77 |
i386 | |
gdb-7.2-50.el6.i686.rpm | SHA-256: 6973be451beb91730e55a83f881ca3dace03a4e2f49b425e64bc9eee256751ed |
gdb-debuginfo-7.2-50.el6.i686.rpm | SHA-256: 7e214df4815898685d87ad62d1fc63203611d4a8d4841ddf41873a3168e7faad |
gdb-gdbserver-7.2-50.el6.i686.rpm | SHA-256: 4aca90a931006147e7c83f019c690c7b7d0e3e7ed6d053d629d927b329d6eb1e |
Red Hat Enterprise Linux Server - Extended Life Cycle Support 6
SRPM | |
---|---|
gdb-7.2-50.el6.src.rpm | SHA-256: 0f61de744ff1011aead2bbe1c1b8957811bb2bb29ff656f6f135452cabc39ab2 |
x86_64 | |
gdb-7.2-50.el6.x86_64.rpm | SHA-256: fd3e73557205129daf68ec75f7e52642f23c7089b55c016a0e8fe98cf9b413af |
gdb-debuginfo-7.2-50.el6.x86_64.rpm | SHA-256: 4f3d51aacf7f2dc98889935fc017aa6c7dd54d867ffb0bdd2325b2efc6551a73 |
gdb-gdbserver-7.2-50.el6.x86_64.rpm | SHA-256: 76d81e795c9adc83c347d16c2e92033896e92e8b7b22f5cc16ad779f11aebe77 |
i386 | |
gdb-7.2-50.el6.i686.rpm | SHA-256: 6973be451beb91730e55a83f881ca3dace03a4e2f49b425e64bc9eee256751ed |
gdb-debuginfo-7.2-50.el6.i686.rpm | SHA-256: 7e214df4815898685d87ad62d1fc63203611d4a8d4841ddf41873a3168e7faad |
gdb-gdbserver-7.2-50.el6.i686.rpm | SHA-256: 4aca90a931006147e7c83f019c690c7b7d0e3e7ed6d053d629d927b329d6eb1e |
Red Hat Enterprise Linux Workstation 6
SRPM | |
---|---|
gdb-7.2-50.el6.src.rpm | SHA-256: 0f61de744ff1011aead2bbe1c1b8957811bb2bb29ff656f6f135452cabc39ab2 |
x86_64 | |
gdb-7.2-50.el6.x86_64.rpm | SHA-256: fd3e73557205129daf68ec75f7e52642f23c7089b55c016a0e8fe98cf9b413af |
gdb-debuginfo-7.2-50.el6.x86_64.rpm | SHA-256: 4f3d51aacf7f2dc98889935fc017aa6c7dd54d867ffb0bdd2325b2efc6551a73 |
gdb-gdbserver-7.2-50.el6.x86_64.rpm | SHA-256: 76d81e795c9adc83c347d16c2e92033896e92e8b7b22f5cc16ad779f11aebe77 |
i386 | |
gdb-7.2-50.el6.i686.rpm | SHA-256: 6973be451beb91730e55a83f881ca3dace03a4e2f49b425e64bc9eee256751ed |
gdb-debuginfo-7.2-50.el6.i686.rpm | SHA-256: 7e214df4815898685d87ad62d1fc63203611d4a8d4841ddf41873a3168e7faad |
gdb-gdbserver-7.2-50.el6.i686.rpm | SHA-256: 4aca90a931006147e7c83f019c690c7b7d0e3e7ed6d053d629d927b329d6eb1e |
Red Hat Enterprise Linux Desktop 6
SRPM | |
---|---|
gdb-7.2-50.el6.src.rpm | SHA-256: 0f61de744ff1011aead2bbe1c1b8957811bb2bb29ff656f6f135452cabc39ab2 |
x86_64 | |
gdb-7.2-50.el6.x86_64.rpm | SHA-256: fd3e73557205129daf68ec75f7e52642f23c7089b55c016a0e8fe98cf9b413af |
gdb-debuginfo-7.2-50.el6.x86_64.rpm | SHA-256: 4f3d51aacf7f2dc98889935fc017aa6c7dd54d867ffb0bdd2325b2efc6551a73 |
gdb-gdbserver-7.2-50.el6.x86_64.rpm | SHA-256: 76d81e795c9adc83c347d16c2e92033896e92e8b7b22f5cc16ad779f11aebe77 |
i386 | |
gdb-7.2-50.el6.i686.rpm | SHA-256: 6973be451beb91730e55a83f881ca3dace03a4e2f49b425e64bc9eee256751ed |
gdb-debuginfo-7.2-50.el6.i686.rpm | SHA-256: 7e214df4815898685d87ad62d1fc63203611d4a8d4841ddf41873a3168e7faad |
gdb-gdbserver-7.2-50.el6.i686.rpm | SHA-256: 4aca90a931006147e7c83f019c690c7b7d0e3e7ed6d053d629d927b329d6eb1e |
Red Hat Enterprise Linux for IBM z Systems 6
SRPM | |
---|---|
gdb-7.2-50.el6.src.rpm | SHA-256: 0f61de744ff1011aead2bbe1c1b8957811bb2bb29ff656f6f135452cabc39ab2 |
s390x | |
gdb-7.2-50.el6.s390x.rpm | SHA-256: 698fdd649eca7c7b51e5838d90434998dae91c81b5271eb93b1e9748eb179acc |
gdb-debuginfo-7.2-50.el6.s390x.rpm | SHA-256: 1c96dd6bf6a4232e0e9e84a8bfe77f0b4c2e3300704d407b7aef66e9dfee03a3 |
gdb-gdbserver-7.2-50.el6.s390x.rpm | SHA-256: 009027320da3ab2f1e7640b3aac84ad35e1513cbcdbf2178e2fa3676600f9fcd |
Red Hat Enterprise Linux for Power, big endian 6
SRPM | |
---|---|
gdb-7.2-50.el6.src.rpm | SHA-256: 0f61de744ff1011aead2bbe1c1b8957811bb2bb29ff656f6f135452cabc39ab2 |
ppc64 | |
gdb-7.2-50.el6.ppc64.rpm | SHA-256: 61789e3dc152aefcc5c95d6c96df82c373ed3c9cb81efdd530d12b71518c5abd |
gdb-debuginfo-7.2-50.el6.ppc64.rpm | SHA-256: 57173ce8bc0345532c4d7b5deecc4518335298862d440078cf35b9af6a93938a |
gdb-gdbserver-7.2-50.el6.ppc64.rpm | SHA-256: 750e10461c78c78c46ae04b92f16997cc2d348fc694080c40c3d3274882793d5 |
Red Hat Enterprise Linux for Scientific Computing 6
SRPM | |
---|---|
gdb-7.2-50.el6.src.rpm | SHA-256: 0f61de744ff1011aead2bbe1c1b8957811bb2bb29ff656f6f135452cabc39ab2 |
x86_64 | |
gdb-7.2-50.el6.x86_64.rpm | SHA-256: fd3e73557205129daf68ec75f7e52642f23c7089b55c016a0e8fe98cf9b413af |
gdb-debuginfo-7.2-50.el6.x86_64.rpm | SHA-256: 4f3d51aacf7f2dc98889935fc017aa6c7dd54d867ffb0bdd2325b2efc6551a73 |
gdb-gdbserver-7.2-50.el6.x86_64.rpm | SHA-256: 76d81e795c9adc83c347d16c2e92033896e92e8b7b22f5cc16ad779f11aebe77 |
Red Hat Enterprise Linux Server from RHUI 6
SRPM | |
---|---|
gdb-7.2-50.el6.src.rpm | SHA-256: 0f61de744ff1011aead2bbe1c1b8957811bb2bb29ff656f6f135452cabc39ab2 |
x86_64 | |
gdb-7.2-50.el6.x86_64.rpm | SHA-256: fd3e73557205129daf68ec75f7e52642f23c7089b55c016a0e8fe98cf9b413af |
gdb-debuginfo-7.2-50.el6.x86_64.rpm | SHA-256: 4f3d51aacf7f2dc98889935fc017aa6c7dd54d867ffb0bdd2325b2efc6551a73 |
gdb-gdbserver-7.2-50.el6.x86_64.rpm | SHA-256: 76d81e795c9adc83c347d16c2e92033896e92e8b7b22f5cc16ad779f11aebe77 |
i386 | |
gdb-7.2-50.el6.i686.rpm | SHA-256: 6973be451beb91730e55a83f881ca3dace03a4e2f49b425e64bc9eee256751ed |
gdb-debuginfo-7.2-50.el6.i686.rpm | SHA-256: 7e214df4815898685d87ad62d1fc63203611d4a8d4841ddf41873a3168e7faad |
gdb-gdbserver-7.2-50.el6.i686.rpm | SHA-256: 4aca90a931006147e7c83f019c690c7b7d0e3e7ed6d053d629d927b329d6eb1e |
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6
SRPM | |
---|---|
gdb-7.2-50.el6.src.rpm | SHA-256: 0f61de744ff1011aead2bbe1c1b8957811bb2bb29ff656f6f135452cabc39ab2 |
s390x | |
gdb-7.2-50.el6.s390x.rpm | SHA-256: 698fdd649eca7c7b51e5838d90434998dae91c81b5271eb93b1e9748eb179acc |
gdb-debuginfo-7.2-50.el6.s390x.rpm | SHA-256: 1c96dd6bf6a4232e0e9e84a8bfe77f0b4c2e3300704d407b7aef66e9dfee03a3 |
gdb-gdbserver-7.2-50.el6.s390x.rpm | SHA-256: 009027320da3ab2f1e7640b3aac84ad35e1513cbcdbf2178e2fa3676600f9fcd |
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support 6
SRPM | |
---|---|
gdb-7.2-50.el6.src.rpm | SHA-256: 0f61de744ff1011aead2bbe1c1b8957811bb2bb29ff656f6f135452cabc39ab2 |
x86_64 | |
gdb-7.2-50.el6.x86_64.rpm | SHA-256: fd3e73557205129daf68ec75f7e52642f23c7089b55c016a0e8fe98cf9b413af |
gdb-debuginfo-7.2-50.el6.x86_64.rpm | SHA-256: 4f3d51aacf7f2dc98889935fc017aa6c7dd54d867ffb0bdd2325b2efc6551a73 |
gdb-gdbserver-7.2-50.el6.x86_64.rpm | SHA-256: 76d81e795c9adc83c347d16c2e92033896e92e8b7b22f5cc16ad779f11aebe77 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.