Bug Fix Advisory gdb bug fix update

Advisory: RHBA-2008:0717-5
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2008-07-24
Last updated on: 2008-07-24
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:

* in certain situations, breakpoints in C++ constructors and destructors
were missed.

* in certain situations, watchpoints were missed after a debugged program
created a new process.

* certain watchpoints were missed during the "step" command.

* decoding the DWARF debugging information failed for certain large amounts
of debug information about application data structures.

* gdb's user interface would sometimes crash when the "focus" command was
called.

* some operations, such as the "info frame" command in particular, were
very slow for applications using libraries with many symbols.

* when using conditional software watchpoints, gdb sometimes crashed when a
variable used for the condition left the current code scope.

* the "gcore" command would generate an invalid core file for applications
with a mapped shared memory segment with shmid 0.

* on PowerPC the "break" command would stop execution later than the first
code instruction. This occured on optimized and position-independent code
(the "-O", "-fPIC", or "-O -fPIE" options) when the appropriate debuginfo
was used.

* on the Itanium (R) architecture, the "gcore" command executed very slowly
and gdb consumed a large amount of memory for debugged programs which used
more than 2GB of memory.

* on the Itanium architecture, a memory leak caused the gdb memory usage to
continually increase whenever the "c" ("continue") command was executed.
The memory was not freed while gdb was being executed.

* on certain unsupported operating systems, gdb would fail to build from
the source RPM due to a missing ".orig" file.

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

Updated packages

Red Hat Desktop (v. 4)

SRPMS:
gdb-6.3.0.0-1.159.el4.src.rpm     897136b8ed1dc33f59cc706a79914800
 
IA-32:
gdb-6.3.0.0-1.159.el4.i386.rpm     ef2c5dd0062271238227f157b029c900
 
x86_64:
gdb-6.3.0.0-1.159.el4.x86_64.rpm     be3c89afc26aa0079dd38bf5310573c2
 
Red Hat Enterprise Linux AS (v. 4)

SRPMS:
gdb-6.3.0.0-1.159.el4.src.rpm     897136b8ed1dc33f59cc706a79914800
 
IA-32:
gdb-6.3.0.0-1.159.el4.i386.rpm     ef2c5dd0062271238227f157b029c900
 
IA-64:
gdb-6.3.0.0-1.159.el4.i386.rpm     ef2c5dd0062271238227f157b029c900
gdb-6.3.0.0-1.159.el4.ia64.rpm     0631687c8c7405ad7c1d9b49e45b665b
 
PPC:
gdb-6.3.0.0-1.159.el4.ppc64.rpm     75bb8c70f8b13b6cafc135088faa13e7
 
s390:
gdb-6.3.0.0-1.159.el4.s390.rpm     acdd742497477308297caedaf9fb7503
 
s390x:
gdb-6.3.0.0-1.159.el4.s390x.rpm     9782df413f9c5755fe61dff0de14ebdb
 
x86_64:
gdb-6.3.0.0-1.159.el4.x86_64.rpm     be3c89afc26aa0079dd38bf5310573c2
 
Red Hat Enterprise Linux ES (v. 4)

SRPMS:
gdb-6.3.0.0-1.159.el4.src.rpm     897136b8ed1dc33f59cc706a79914800
 
IA-32:
gdb-6.3.0.0-1.159.el4.i386.rpm     ef2c5dd0062271238227f157b029c900
 
IA-64:
gdb-6.3.0.0-1.159.el4.i386.rpm     ef2c5dd0062271238227f157b029c900
gdb-6.3.0.0-1.159.el4.ia64.rpm     0631687c8c7405ad7c1d9b49e45b665b
 
x86_64:
gdb-6.3.0.0-1.159.el4.x86_64.rpm     be3c89afc26aa0079dd38bf5310573c2
 
Red Hat Enterprise Linux WS (v. 4)

SRPMS:
gdb-6.3.0.0-1.159.el4.src.rpm     897136b8ed1dc33f59cc706a79914800
 
IA-32:
gdb-6.3.0.0-1.159.el4.i386.rpm     ef2c5dd0062271238227f157b029c900
 
IA-64:
gdb-6.3.0.0-1.159.el4.i386.rpm     ef2c5dd0062271238227f157b029c900
gdb-6.3.0.0-1.159.el4.ia64.rpm     0631687c8c7405ad7c1d9b49e45b665b
 
x86_64:
gdb-6.3.0.0-1.159.el4.x86_64.rpm     be3c89afc26aa0079dd38bf5310573c2
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

338231 - PPC function breakpoint too far behind the prologue
349451 - Watchpoints missed after inferior's fork()
380881 - Leftover .orig file patched by a .src.rpm .patch file
409571 - [4.6][gcore] When the gcore command is executed, it takes a really long time.
439257 - Corrupted DWARF expression



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/