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-2010:0285 - Bug Fix Advisory
Issued:
2010-03-30
Updated:
2010-03-30

RHBA-2010:0285 - Bug Fix Advisory

  • Overview
  • Updated Packages

Synopsis

gdb bug fix update

Type/Severity

Bug Fix Advisory

Red Hat Lightspeed patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

Topic

An updated gdb package that fixes various bugs is now available.

Description

The GNU Project debugger, GDB, debugs programs written in C, C++, and other
languages by executing them in a controlled fashion, and then printing out
their data.

With this update, GDB is now re-based to upstream version 7.0.1
(BZ#526533). This applies several bug fixes and enhancements not listed
here. For a full description of this version, refer to the following link:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/NEWS.diff?cvsroot=src&r1=t ext&tr1=1.259.2.1&r2=text&tr2=1.331.2.2&f=u

This update applies the following bug fixes:

  • Printing values from a debugged program by dereferencing a pointer to an

object of dynamic type printed out an error stating "Cannot resolve
DW_OP_push_object_address for a missing object". Such pointers are produced
by an unsupported iFort compiler, not by gfortran. With this update, GDB
can now dereference pointers to objects of dynamic type, thereby correctly
printing the dynamic Fortran arrays dereferenced from such pointers (as
produced by the iFort compiler).
(BZ#514287)

  • Debugging a program with thousands of set breakpoints was unacceptably

slow. This was because a previous patch introduced a mechanism that hid
breakpoint instructions and returned "shadow" content whenever
target_read_memory() accessed memory. The aforementioned patch was
implemented upstream to be used with a "breakpoint always-inserted" option,
which was not implemented in Red Hat Enterprise Linux version of GDB. But
Red Hat Enterprise Linux version backported it to solve a problem on
Itanium where instruction (and thus even breakpoint instruction) boundaries
are not byte-aligned. This update reimplements the shadowing functionality
using more optimal log(n) algorithm instead, which consequently prevents
any unnecessary slowdown when processing programs with numerous set
breakpoints.
(BZ#520618)

  • GDB incorrectly skipped OpenMP parallel sections (instead of entering

them as expected) when using the "next" command. This was caused by missing
DWARF annotations from GCC that made it possible for OpenMP parallel
sections to be incorrectly classified as function calls. To address this,
GDB contains special instructions to make OpenMP parallel sections
indifferent to normal code, allowing GDB to step into parallel sections
with "next" correctly.
(BZ#533176)

  • The GDB version banner now correctly displays "Red Hat Enterprise Linux"

instead of "Fedora".
(BZ#537788)

  • GDB no longer obsoletes the pstack package.

(BZ#550786)

  • Loading symbols in STABS debug format could crash GDB. The STABS format

is no longer supported, as Red Hat Enterprise Linux uses the debug format
DWARF. With this update, loading symbols in STABS format no longer crashes
GDB; instead, such symbols are simply loaded incorrectly.
(BZ#553672)

  • Adding GDB support for Fortran modules in previous releases introduced a

regression which prevented GDB from setting breakpoints on a Fortran
program's name. This was caused by a bug in the search routines used when
"set language fortran" is enabled. This update fixes the regression.
(BZ#559291)

  • The Red Hat Enterprise Linux 5.5 version of GDB also contains a fix for

an upstream GDB regression that prevented users from setting rwatch and
awatch breakpoints before a program starts. This version of GDB implements
a compatibility fix from GDB 6.8 to address the regression.
(BZ#562770)

  • A "break-by-name on inlined functions" feature introduced in Fedora GDB

made it possible for parameters of inlined functions to be incorrectly
hidden. Whenever this occurred during debugging, GDB printed "<optimized
out>" in backtraces or upon entering such functions. In some cases,
stepping through inlined functions could also abort GDB with an internal
error. This release resolves the issue by removing the "break-by-name on
inlined functions" feature altogether.
(BZ#565601)

All GDB users should apply this update.

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
http://kbase.redhat.com/faq/docs/DOC-11259

Affected Products

  • Red Hat Enterprise Linux Server 5 x86_64
  • Red Hat Enterprise Linux Server 5 ia64
  • Red Hat Enterprise Linux Server 5 i386
  • Red Hat Enterprise Linux Workstation 5 x86_64
  • Red Hat Enterprise Linux Workstation 5 i386
  • Red Hat Enterprise Linux Desktop 5 x86_64
  • Red Hat Enterprise Linux Desktop 5 i386
  • Red Hat Enterprise Linux for IBM z Systems 5 s390x
  • Red Hat Enterprise Linux for Power, big endian 5 ppc
  • Red Hat Enterprise Linux Server from RHUI 5 x86_64
  • Red Hat Enterprise Linux Server from RHUI 5 i386

Fixes

  • BZ - 514287 - invalid print: Cannot resolve DW_OP_push_object_address for a missing object
  • BZ - 520618 - processing 'continue' command of gdb is slow, when many breakpoints are set
  • BZ - 526533 - Rebase of GDB to 7.0, the F12 version
  • BZ - 530982 - GDB testsuite should not buil- require gcc43* at rhel-5.4+
  • BZ - 533176 - Can't step or next into OMP parallel section
  • BZ - 537788 - Version banner should have no Fedora
  • BZ - 550786 - gdb obsoletes pstack
  • BZ - 553672 - gdb crashes on 'where' with objects compiled with stabs
  • BZ - 559291 - breakpoints on routine names don't work in Fortran in gdb 6.8-37

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 5

SRPM
gdb-7.0.1-23.el5.src.rpm SHA-256: f36f92b7226afaebd1afe0615903fa3d5a6953d2ec89770e2dc19a107890191f
x86_64
gdb-7.0.1-23.el5.x86_64.rpm SHA-256: 14427e0d50e6e6d2f6dc5e1d071ca374712894250a8047a1715d8749ea6f72c2
ia64
gdb-7.0.1-23.el5.i386.rpm SHA-256: d5878bfec13147af9c31ca59fc860c0e2540dfaad808e361c4d87fc931f71140
gdb-7.0.1-23.el5.ia64.rpm SHA-256: 1d8c068d2b52df679916513527a94bedf30a8e887a50fecb7f67c6af6cc77994
i386
gdb-7.0.1-23.el5.i386.rpm SHA-256: d5878bfec13147af9c31ca59fc860c0e2540dfaad808e361c4d87fc931f71140

Red Hat Enterprise Linux Workstation 5

SRPM
gdb-7.0.1-23.el5.src.rpm SHA-256: f36f92b7226afaebd1afe0615903fa3d5a6953d2ec89770e2dc19a107890191f
x86_64
gdb-7.0.1-23.el5.x86_64.rpm SHA-256: 14427e0d50e6e6d2f6dc5e1d071ca374712894250a8047a1715d8749ea6f72c2
i386
gdb-7.0.1-23.el5.i386.rpm SHA-256: d5878bfec13147af9c31ca59fc860c0e2540dfaad808e361c4d87fc931f71140

Red Hat Enterprise Linux Desktop 5

SRPM
gdb-7.0.1-23.el5.src.rpm SHA-256: f36f92b7226afaebd1afe0615903fa3d5a6953d2ec89770e2dc19a107890191f
x86_64
gdb-7.0.1-23.el5.x86_64.rpm SHA-256: 14427e0d50e6e6d2f6dc5e1d071ca374712894250a8047a1715d8749ea6f72c2
i386
gdb-7.0.1-23.el5.i386.rpm SHA-256: d5878bfec13147af9c31ca59fc860c0e2540dfaad808e361c4d87fc931f71140

Red Hat Enterprise Linux for IBM z Systems 5

SRPM
gdb-7.0.1-23.el5.src.rpm SHA-256: f36f92b7226afaebd1afe0615903fa3d5a6953d2ec89770e2dc19a107890191f
s390x
gdb-7.0.1-23.el5.s390x.rpm SHA-256: d4fcaa2172f51a613e479e1f3f26b2c58470ffeb6424f362c353e8d8f4bec0da

Red Hat Enterprise Linux for Power, big endian 5

SRPM
gdb-7.0.1-23.el5.src.rpm SHA-256: f36f92b7226afaebd1afe0615903fa3d5a6953d2ec89770e2dc19a107890191f
ppc
gdb-7.0.1-23.el5.ppc64.rpm SHA-256: da66bc3d4ea4061c74aca5a7eb49aaefc1583e5c8248b39f6e638ba0ff6d3c6e

Red Hat Enterprise Linux Server from RHUI 5

SRPM
gdb-7.0.1-23.el5.src.rpm SHA-256: f36f92b7226afaebd1afe0615903fa3d5a6953d2ec89770e2dc19a107890191f
x86_64
gdb-7.0.1-23.el5.x86_64.rpm SHA-256: 14427e0d50e6e6d2f6dc5e1d071ca374712894250a8047a1715d8749ea6f72c2
i386
gdb-7.0.1-23.el5.i386.rpm SHA-256: d5878bfec13147af9c31ca59fc860c0e2540dfaad808e361c4d87fc931f71140

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