Bug Fix Advisory gdb bug fix update

Advisory: RHBA-2009:1015-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2009-05-18
Last updated on: 2009-05-18
Affected Products: Red Hat Desktop (v. 4)
Red Hat Enterprise Linux AS (v. 4)
Red Hat Enterprise Linux ES (v. 4)
Red Hat Enterprise Linux WS (v. 4)
OVAL: N/A

Details

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

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 addresses the following issues:

* Placing a breakpoint to program having some parts compiled without
debugging information (as provided by "gcc -g") could put the breakpoint at
incorrect place. The updated GDB places the breakpoint where the user
requested even for code without debugging information present. Note: the
program still must not have been stripped by the strip program. (BZ#442888)

* Debugging code compiled by the default C compiler of RHEL-4 (gcc) could
cause a GDB segmentation fault if the debugging information incorrectly
references a frame base which is not being defined by this debugging
information. The updated GDB writes an error message and continues to run.
Such code can be debugged correctly by using the alternative RHEL-4 C
compiler gcc4. (BZ#466222)

* On s390 and s390x architectures loading a core file of program using
shared libraries currently being prelinked at a different address than in
the time of the core dump could make the library not available for
investigation. The different address of a shared library may occur due to a
new prelink run from crond or by transferring the core file from a
different machine. The updated GDB properly displays the shared library
code for debugging notwithstanding its current prelinked address.
(BZ#468213)

* GDB could not backtrace through signal handler for i386 processes on
x86_64 kernel running on AMD CPUs. vDSO32 uses there a syscall instruction
for performance reasons which was not used on native i386 systems before.
The update GDB properly backtraces through signal handler even in this
case. (BZ#485508)

All users of gdb should upgrade to this updated package, which contains
backported patches to resolve these issues.


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

Updated packages

Red Hat Desktop (v. 4)

SRPMS:
gdb-6.3.0.0-1.162.el4.src.rpm     712bdf8ca5df218ca625110ad3b84d19
 
IA-32:
gdb-6.3.0.0-1.162.el4.i386.rpm     52271041cdd1f8beb8645d500c1ed894
 
x86_64:
gdb-6.3.0.0-1.162.el4.x86_64.rpm     92074779e9e5940ac9f68e944670e1ff
 
Red Hat Enterprise Linux AS (v. 4)

SRPMS:
gdb-6.3.0.0-1.162.el4.src.rpm     712bdf8ca5df218ca625110ad3b84d19
 
IA-32:
gdb-6.3.0.0-1.162.el4.i386.rpm     52271041cdd1f8beb8645d500c1ed894
 
IA-64:
gdb-6.3.0.0-1.162.el4.i386.rpm     52271041cdd1f8beb8645d500c1ed894
gdb-6.3.0.0-1.162.el4.ia64.rpm     bf31d3efd293ee7f15cb68cad03e0864
 
PPC:
gdb-6.3.0.0-1.162.el4.ppc64.rpm     cb13d9f66ebd6d0faa2ef57922582b99
 
s390:
gdb-6.3.0.0-1.162.el4.s390.rpm     ca7f687dcf7a339c0d2ac245e948f59f
 
s390x:
gdb-6.3.0.0-1.162.el4.s390x.rpm     f68a7ffde63399d80decf08788c73d72
 
x86_64:
gdb-6.3.0.0-1.162.el4.x86_64.rpm     92074779e9e5940ac9f68e944670e1ff
 
Red Hat Enterprise Linux ES (v. 4)

SRPMS:
gdb-6.3.0.0-1.162.el4.src.rpm     712bdf8ca5df218ca625110ad3b84d19
 
IA-32:
gdb-6.3.0.0-1.162.el4.i386.rpm     52271041cdd1f8beb8645d500c1ed894
 
IA-64:
gdb-6.3.0.0-1.162.el4.i386.rpm     52271041cdd1f8beb8645d500c1ed894
gdb-6.3.0.0-1.162.el4.ia64.rpm     bf31d3efd293ee7f15cb68cad03e0864
 
x86_64:
gdb-6.3.0.0-1.162.el4.x86_64.rpm     92074779e9e5940ac9f68e944670e1ff
 
Red Hat Enterprise Linux WS (v. 4)

SRPMS:
gdb-6.3.0.0-1.162.el4.src.rpm     712bdf8ca5df218ca625110ad3b84d19
 
IA-32:
gdb-6.3.0.0-1.162.el4.i386.rpm     52271041cdd1f8beb8645d500c1ed894
 
IA-64:
gdb-6.3.0.0-1.162.el4.i386.rpm     52271041cdd1f8beb8645d500c1ed894
gdb-6.3.0.0-1.162.el4.ia64.rpm     bf31d3efd293ee7f15cb68cad03e0864
 
x86_64:
gdb-6.3.0.0-1.162.el4.x86_64.rpm     92074779e9e5940ac9f68e944670e1ff
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

442888 - gdb terminates with a segfault when stepping though a test application
466222 - gdb fails to set breakpoints



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

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