Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Lightspeed
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Lightspeed
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHBA-2011:0638 - Bug Fix Advisory
Issued:
2011-05-19
Updated:
2011-05-19

RHBA-2011:0638 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

gdb bug fix and enhancement update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

Updated gdb packages that fix several bugs and add various enhancements are now
available for Red Hat Enterprise Linux 6.

Description

The GNU debugger, gdb, is a debugger for programs written in C, C++, and other
languages.

This update fixes these bugs:

  • GDB crashed when reading a kernel core dump file because the value of

temporary current inferior process was set to minus_one_ptid (all processes).
The value is now set to null_ptid (no processes) and GDB displays the vmcore
file. (BZ#611435)

  • When the gcore utility created a core file for an executable compiled with the

"-Wl,-z,relro" parameter, GDB was unable to open it. This occurred because the
file did not contain the list of shared libraries. Such core files now contain
the shared library list and can be opened. (BZ#625239)

  • GDB Python's pretty-printing feature provides an easily-readable view on

complex C++ STL data structures. GDB crashed when displaying such structures.
This occurred when the pretty printer threw a Python exception and GDB crashed
due to a NULL pointer dereference. GDB now displays the easily-readable view of
any C++ STL data structure correctly. (BZ#629236)

  • GDB aborted unexpectedly if you set breakpoints on GNU-IFUNC functions and

started the debugged program because the breakpoints could not resolve the
target functions of the GNU-IFUNC functions at program startup. Breakpoints on
GNU-IFUNC functions are now resolved when the program calls the target function.
(BZ#632259)

  • With GDB, you can modify VSX registers on PowerPC platforms. Changing some VSX

registers corrupted other VSX registers. GDB now sets VSX registers
independently. (BZ#636298)

  • GDB aborted unexpectedly when an inferior shared library list changed during

an inferior function call. This occurred because GDB reset all breakpoints
including the temporary breakpoint, which was created by the call, and attempted
to delete the breakpoint again after the call finished. The temporary breakpoint
now remains valid during the entire inferior function call. (BZ#639645)

  • GDB could have hung when debugging multithreaded programs with the setuid()

function because the siginfo_t information associated with a signal number got
lost. GDB now no longer resubmits or reorders signals and the siginfo_t value is
preserved. (BZ#639647)

  • GDB terminated unexpectedly after user run the "info program" command because

a change of the shared library list corrupted the data in the internal GDB
structure "bpstat". The structure now contains correct data even after a change
in the shared library list and "info program" works as expected. (BZ#661773)

  • Test suite file break-interp.exp reported for PowerPC platforms several FAIL

results. A number of fixes have been applied to address these issues and the
test suite for PowerPC now runs successfully. (BZ#663449)

  • GDB crashed when attempting to access dynamic types, such as variable length

arrays, using the GDB/MI interface. GDB now no longer crashes under these
circumstances. (BZ#682891)

  • On the i686 architecture, the awatch and rwatch commands printed an error when

entered before the program-to-be-debugged started. GDB now by default debugs on
the native architecture and the commands can be used before the
program-to-be-debugged starts. (BZ#688788)

This update adds these enhancements:

  • Debugged programs may use C++ templates. C++ templates provide template

symbols for instantiation of classes and functions. GDB debugged the template
instances but the template symbols were not accessible. GDB now displays the
template symbols while debugging the template instances. (BZ#562758)

  • Fortran supports array slicing. GDB could not slice multidimensional arrays.

GDB now supports slicing of such arrays. (BZ#609782)

  • The gdb package has been upgraded to upstream version 7.2, which provides a

number of bug fixes and enhancements over the previous version. (BZ#649030)

  • GDB did not display pthread_t for threads found in the core. GDB now displays

pthread_t for the threads. (BZ#673696)

Users are advised to upgrade to these packages, which resolve the bugs and add
the 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 - Extended Life Cycle Support Extension 6 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 i386
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6 s390x

Fixes

  • BZ - 611435 - ../../gdb/thread.c:889: internal-error: switch_to_thread: Assertion `inf != NULL' failed
  • BZ - 629236 - [abrt] crash in gdb-7.1-28.fc13: gdbpy_is_string: Process /usr/bin/gdb was killed by signal 11 (SIGSEGV)
  • BZ - 632259 - ../../gdb/infrun.c:5467: internal-error after setting breakpoint in glibc-statically-linked program
  • BZ - 639645 - gdb aborts with a 'double free or corruption' when calling inferior functions with print or call command
  • BZ - 639647 - gdb gets stuck on multi-threaded program which calls setuid() frequently
  • BZ - 649030 - Rebase GDB to 7.2 (=Fedora 14)
  • BZ - 661773 - [6.0] Using call subcommand to the functions handling DSOs causes info program to behave abnormally
  • BZ - 673696 - gdb: Linux core files should use linux-thread-db.c
  • BZ - 682891 - [MI] crash on use-after-free types in check_typedef()
  • BZ - 688788 - [REG][6.1] "awatch" subcommand of gdb does not work

CVEs

(none)

References

(none)

Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 6

SRPM
gdb-7.2-48.el6.src.rpm SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421
x86_64
gdb-7.2-48.el6.x86_64.rpm SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c
gdb-7.2-48.el6.x86_64.rpm SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c
gdb-debuginfo-7.2-48.el6.x86_64.rpm SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e
gdb-debuginfo-7.2-48.el6.x86_64.rpm SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e
gdb-gdbserver-7.2-48.el6.x86_64.rpm SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2
gdb-gdbserver-7.2-48.el6.x86_64.rpm SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2
i386
gdb-7.2-48.el6.i686.rpm SHA-256: 2a6fa798cb5768ce287b271c98bfdae061d8b9171921942fc4492ea1657b0cf2
gdb-debuginfo-7.2-48.el6.i686.rpm SHA-256: 2badbb2bf1583f58d66ce8935c73071685cc7587f288f294dcb2d1d56cbfc74d
gdb-gdbserver-7.2-48.el6.i686.rpm SHA-256: b1b5e3034348be6e8ff5df8eb5b9d91086f1d68b3f418beb3604a061ab120967

Red Hat Enterprise Linux Workstation 6

SRPM
gdb-7.2-48.el6.src.rpm SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421
x86_64
gdb-7.2-48.el6.x86_64.rpm SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c
gdb-debuginfo-7.2-48.el6.x86_64.rpm SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e
gdb-gdbserver-7.2-48.el6.x86_64.rpm SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2
i386
gdb-7.2-48.el6.i686.rpm SHA-256: 2a6fa798cb5768ce287b271c98bfdae061d8b9171921942fc4492ea1657b0cf2
gdb-debuginfo-7.2-48.el6.i686.rpm SHA-256: 2badbb2bf1583f58d66ce8935c73071685cc7587f288f294dcb2d1d56cbfc74d
gdb-gdbserver-7.2-48.el6.i686.rpm SHA-256: b1b5e3034348be6e8ff5df8eb5b9d91086f1d68b3f418beb3604a061ab120967

Red Hat Enterprise Linux Desktop 6

SRPM
gdb-7.2-48.el6.src.rpm SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421
x86_64
gdb-7.2-48.el6.x86_64.rpm SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c
gdb-debuginfo-7.2-48.el6.x86_64.rpm SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e
gdb-gdbserver-7.2-48.el6.x86_64.rpm SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2
i386
gdb-7.2-48.el6.i686.rpm SHA-256: 2a6fa798cb5768ce287b271c98bfdae061d8b9171921942fc4492ea1657b0cf2
gdb-debuginfo-7.2-48.el6.i686.rpm SHA-256: 2badbb2bf1583f58d66ce8935c73071685cc7587f288f294dcb2d1d56cbfc74d
gdb-gdbserver-7.2-48.el6.i686.rpm SHA-256: b1b5e3034348be6e8ff5df8eb5b9d91086f1d68b3f418beb3604a061ab120967

Red Hat Enterprise Linux for IBM z Systems 6

SRPM
gdb-7.2-48.el6.src.rpm SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421
s390x
gdb-7.2-48.el6.s390x.rpm SHA-256: 0227a6392e3f64e6b9763b7f8ac824dec67d92af95a5149ac8c11de17bb690db
gdb-debuginfo-7.2-48.el6.s390x.rpm SHA-256: 80bcc9bddf7827a1ff495cc7261932194ac97ff50e50654cff8e171da760ac62
gdb-gdbserver-7.2-48.el6.s390x.rpm SHA-256: bb64d7b92c0a77bdec9fcd83027fd4cd1ed5644df957fb1b7a2999af176a9bcf

Red Hat Enterprise Linux Server from RHUI 6

SRPM
gdb-7.2-48.el6.src.rpm SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421
x86_64
gdb-7.2-48.el6.x86_64.rpm SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c
gdb-debuginfo-7.2-48.el6.x86_64.rpm SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e
gdb-gdbserver-7.2-48.el6.x86_64.rpm SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2
i386
gdb-7.2-48.el6.i686.rpm SHA-256: 2a6fa798cb5768ce287b271c98bfdae061d8b9171921942fc4492ea1657b0cf2
gdb-debuginfo-7.2-48.el6.i686.rpm SHA-256: 2badbb2bf1583f58d66ce8935c73071685cc7587f288f294dcb2d1d56cbfc74d
gdb-gdbserver-7.2-48.el6.i686.rpm SHA-256: b1b5e3034348be6e8ff5df8eb5b9d91086f1d68b3f418beb3604a061ab120967

Red Hat Enterprise Linux Server - Extended Life Cycle Support 6

SRPM
gdb-7.2-48.el6.src.rpm SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421
x86_64
gdb-7.2-48.el6.x86_64.rpm SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c
gdb-debuginfo-7.2-48.el6.x86_64.rpm SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e
gdb-gdbserver-7.2-48.el6.x86_64.rpm SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2
i386
gdb-7.2-48.el6.i686.rpm SHA-256: 2a6fa798cb5768ce287b271c98bfdae061d8b9171921942fc4492ea1657b0cf2
gdb-debuginfo-7.2-48.el6.i686.rpm SHA-256: 2badbb2bf1583f58d66ce8935c73071685cc7587f288f294dcb2d1d56cbfc74d
gdb-gdbserver-7.2-48.el6.i686.rpm SHA-256: b1b5e3034348be6e8ff5df8eb5b9d91086f1d68b3f418beb3604a061ab120967

Red Hat Enterprise Linux for Power, big endian 6

SRPM
gdb-7.2-48.el6.src.rpm SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421
ppc64
gdb-7.2-48.el6.ppc64.rpm SHA-256: 0824b2ce211ebf8407134836e1bb27f41d1267d8ba6b4309335ad97150c8dc34
gdb-debuginfo-7.2-48.el6.ppc64.rpm SHA-256: 6ff4b7d96bce47447f5a748759fc85b571d8d17325709de60ce8377b4e4a1b1b
gdb-gdbserver-7.2-48.el6.ppc64.rpm SHA-256: f708ca4c2eaf681d7fcee74ff62aa0589a41a3bcaa55c3d11e6696a0281d3d8b

Red Hat Enterprise Linux for Scientific Computing 6

SRPM
gdb-7.2-48.el6.src.rpm SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421
x86_64
gdb-7.2-48.el6.x86_64.rpm SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c
gdb-debuginfo-7.2-48.el6.x86_64.rpm SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e
gdb-gdbserver-7.2-48.el6.x86_64.rpm SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2

Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6

SRPM
gdb-7.2-48.el6.src.rpm SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421
s390x
gdb-7.2-48.el6.s390x.rpm SHA-256: 0227a6392e3f64e6b9763b7f8ac824dec67d92af95a5149ac8c11de17bb690db
gdb-debuginfo-7.2-48.el6.s390x.rpm SHA-256: 80bcc9bddf7827a1ff495cc7261932194ac97ff50e50654cff8e171da760ac62
gdb-gdbserver-7.2-48.el6.s390x.rpm SHA-256: bb64d7b92c0a77bdec9fcd83027fd4cd1ed5644df957fb1b7a2999af176a9bcf

Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6

SRPM
gdb-7.2-48.el6.src.rpm SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421
x86_64
gdb-7.2-48.el6.x86_64.rpm SHA-256: 43fee3c2527c70d452840ea9dc2638b3d7d71c79be92f98dbe9630127c25a21c
gdb-debuginfo-7.2-48.el6.x86_64.rpm SHA-256: cf80f3edf7359e9e5c55ac09cc1f2dea3363c1c86377c4ac9cf1423a71a1490e
gdb-gdbserver-7.2-48.el6.x86_64.rpm SHA-256: 4ff2b6ef21f80b563bfa1403b88c54455a93a686d2faec7fb69ea57c33de12e2
i386
gdb-7.2-48.el6.i686.rpm SHA-256: 2a6fa798cb5768ce287b271c98bfdae061d8b9171921942fc4492ea1657b0cf2
gdb-debuginfo-7.2-48.el6.i686.rpm SHA-256: 2badbb2bf1583f58d66ce8935c73071685cc7587f288f294dcb2d1d56cbfc74d
gdb-gdbserver-7.2-48.el6.i686.rpm SHA-256: b1b5e3034348be6e8ff5df8eb5b9d91086f1d68b3f418beb3604a061ab120967

Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6

SRPM
gdb-7.2-48.el6.src.rpm SHA-256: 60a534c3465abda6332e777404531fe70959c0c13832c0eeabd9cd77da8f1421
s390x
gdb-7.2-48.el6.s390x.rpm SHA-256: 0227a6392e3f64e6b9763b7f8ac824dec67d92af95a5149ac8c11de17bb690db
gdb-debuginfo-7.2-48.el6.s390x.rpm SHA-256: 80bcc9bddf7827a1ff495cc7261932194ac97ff50e50654cff8e171da760ac62
gdb-gdbserver-7.2-48.el6.s390x.rpm SHA-256: bb64d7b92c0a77bdec9fcd83027fd4cd1ed5644df957fb1b7a2999af176a9bcf

The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2026 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility