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-2008:0332 - Bug Fix Advisory
Issued:
2008-05-21
Updated:
2008-05-21

RHBA-2008:0332 - 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

An updated gdb package that fixes several bugs and adds an enhancement is
now available.

Description

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

This updated package fixes the following bugs:

  • arrows keys did not work to browse the history of the breakpoint command

list input.

  • gdb was unable to track forked child processes, and thus, missed the

breakpoints of the forked child processes. In this updated package, a
"Detaching after fork from child process" message is displayed for these
situations.

  • in certain situations, watchpoints were missed after a debugged program

created a new process.

  • various PowerPC backtrace cases, including an unwinding by debuginfo,

have been resolved.

  • on PowerPC architectures, when a binary was built with optimization level

2, gdb gave a bad value for the function argument, after calling the "bt"
(backtrace) command.

  • gdb was unable to debug threaded programs that were being linked fully

statically.

  • early during the start of gdb debugging, a zombie process was created.
  • gdb hanged when the first thread of a process exited.
  • on PowerPC architectures, gdb failed to build from the source RPM.
  • it was possible for the pending signal to be lost during process

attachment.

  • gdb can correctly attach to an already stopped (by SIGSTOP) process,

which makes it compatible with the Red Hat Enterprise Linux 5.2 kernel
errata, RHBA-2008:8013-04.

  • in certain situations, breakpoints in C++ constructors and destructors

were missed.

  • certain watchpoints were missed during the "step" command.
  • a segmentation fault occurred when the "extern C" function was called by

gdb from a C++ program.

  • on Itanium architectures, the "gcore" command executed very slowly for

very large debugged programs, for example, a program that can allocate,
and then execute, more than 2GB of memory. This may have caused certain
databases to consume a large amount of memory, for example, 16GB or
more. The target program could not be restarted until gcore finished.

  • on Itanium architectures, a memory leaked caused the gdb memory usage to

continually increase, when the "c" (continue) command was executed. The
memory was not freed while gdb was being executed.

As well, this updated package adds the following enhancement:

  • support for the Java DW_TAG_interface_type has been added, as used by

the GNU Compiler for Java, to make gdb compatible with gcc 4.1.2, as
shipped with Red Hat Enterprise Linux 5.2.

Users of gdb are advised to upgrade to this updated package, which resolves
these issues and adds this enhancement.

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/FAQ_58_10188

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 - 215816 - Arrow keys no longer works in breakpoint command list
  • BZ - 235197 - FEAT: Always display: Detaching after fork from child process ...
  • BZ - 237096 - Watchpoints missed after inferior's fork()
  • BZ - 238333 - PPC CFI and non-CFI backtraces broken
  • BZ - 244677 - killing gdb debuggee leaves zombie processes
  • BZ - 247466 - gdb src.rpm won't build in ppc32/ppc64 environment
  • BZ - 292971 - Pending signal may get lost on `attach'
  • BZ - 302751 - [RHEL 5] GDB fails to break in the $delete destructor
  • BZ - 426600 - DW_TAG_interface_type support

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-6.5-37.el5.src.rpm SHA-256: c91a07f700ad4a2319f5c69ecf598bbe9e61af504ff032dfd6d47b26daafc554
x86_64
gdb-6.5-37.el5.x86_64.rpm SHA-256: a59b807092da1d8faa419163209627b41c8b69255a7ffb51940027631b32fe73
ia64
gdb-6.5-37.el5.i386.rpm SHA-256: b1410194fdd1f9432198895687f8f8e23891a797e9172e1f69d33f2b0cbc9403
gdb-6.5-37.el5.ia64.rpm SHA-256: b38df896a67af1624516bb780551b4880c441c139cd2eecfe1dcac469dde3f8c
i386
gdb-6.5-37.el5.i386.rpm SHA-256: b1410194fdd1f9432198895687f8f8e23891a797e9172e1f69d33f2b0cbc9403

Red Hat Enterprise Linux Workstation 5

SRPM
gdb-6.5-37.el5.src.rpm SHA-256: c91a07f700ad4a2319f5c69ecf598bbe9e61af504ff032dfd6d47b26daafc554
x86_64
gdb-6.5-37.el5.x86_64.rpm SHA-256: a59b807092da1d8faa419163209627b41c8b69255a7ffb51940027631b32fe73
i386
gdb-6.5-37.el5.i386.rpm SHA-256: b1410194fdd1f9432198895687f8f8e23891a797e9172e1f69d33f2b0cbc9403

Red Hat Enterprise Linux Desktop 5

SRPM
gdb-6.5-37.el5.src.rpm SHA-256: c91a07f700ad4a2319f5c69ecf598bbe9e61af504ff032dfd6d47b26daafc554
x86_64
gdb-6.5-37.el5.x86_64.rpm SHA-256: a59b807092da1d8faa419163209627b41c8b69255a7ffb51940027631b32fe73
i386
gdb-6.5-37.el5.i386.rpm SHA-256: b1410194fdd1f9432198895687f8f8e23891a797e9172e1f69d33f2b0cbc9403

Red Hat Enterprise Linux for IBM z Systems 5

SRPM
gdb-6.5-37.el5.src.rpm SHA-256: c91a07f700ad4a2319f5c69ecf598bbe9e61af504ff032dfd6d47b26daafc554
s390x
gdb-6.5-37.el5.s390x.rpm SHA-256: 250cf8c22a776434b75bc8f6fd2418dfec664950a7dcca734bb984c24829750e

Red Hat Enterprise Linux for Power, big endian 5

SRPM
gdb-6.5-37.el5.src.rpm SHA-256: c91a07f700ad4a2319f5c69ecf598bbe9e61af504ff032dfd6d47b26daafc554
ppc
gdb-6.5-37.el5.ppc64.rpm SHA-256: 8db7d172cb164a6abbac9410cdf86234f0c9de4e18c89f1248a199e37a0619be

Red Hat Enterprise Linux Server from RHUI 5

SRPM
gdb-6.5-37.el5.src.rpm SHA-256: c91a07f700ad4a2319f5c69ecf598bbe9e61af504ff032dfd6d47b26daafc554
x86_64
gdb-6.5-37.el5.x86_64.rpm SHA-256: a59b807092da1d8faa419163209627b41c8b69255a7ffb51940027631b32fe73
i386
gdb-6.5-37.el5.i386.rpm SHA-256: b1410194fdd1f9432198895687f8f8e23891a797e9172e1f69d33f2b0cbc9403

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
© 2025 Red Hat

Red Hat legal and privacy links

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