Bug 526533 - Rebase of GDB to 7.0, the F12 version
Summary: Rebase of GDB to 7.0, the F12 version
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gdb
Version: 5.4
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Jan Kratochvil
QA Contact: BaseOS QE
Depends On: 547870 625372
Blocks: 520618
TreeView+ depends on / blocked
Reported: 2009-09-30 18:25 UTC by Jan Kratochvil
Modified: 2010-08-19 08:14 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Clone Of:
Last Closed: 2010-03-30 08:52:29 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0285 normal SHIPPED_LIVE gdb bug fix update 2010-03-29 14:04:10 UTC

Description Jan Kratochvil 2009-09-30 18:25:11 UTC
Description of problem:
Rebase to the F12 GDB (GDB-7.0) has been considered as the most feasible way to resolve Bug 467502 and Bug 520618 both showing larger problems with threads.

Version-Release number of selected component (if applicable):
gdb-6.8-37.el5 (RHEL-5.4)

Additional info:
Bug 467502 did show some problems in the threads support of FSF GDB 6.8 (which is the base for the current RHEL-5.4 GDB).
While re-evaluating this bugfix Bug 467502  for a new performance Bug 520618 found out various threads regressions.  Their fix would require too many patches to backport moreover having issues with the RH PIE (Position-Independent-Executable) patch.
F12 contains already the full fix set tested both in Fedora and by FSF GDB 7.0, the PIE patch compatibility is at least tested by Fedora (+SuSE).

A pre-6.8 regression in Bug 467502 was introduced by:
[8/9] multiple locations

One of the later fixes was:
Re: [RFA] Try2: Ignore breakpoints when reading memory.

A different also required fix was:
Fixes for a couple of infrun bugs (thread hop, revert to step thread).

These patches introduce general restoration from breakpoint shadows which is not required for RHEL-5 but other patches heavily depend on it, incl. my performance fixing patch:

This would mean either
(a) Introduce new untested fixes of the 6.8 threading bugs not based on the
    breakpoints shadow restoration patches.
(b) Properly cherry-pick all the breakpoints shadow restoration patches fixing
    the threading bugs, incl. rebasement of the RH PIE patch.
Neither of two paths provide small enough change not being tested in the field to be acceptable for RHEL-5.

F12 is now gdb- which is already from FSF GDB 7.0 branch (gdb_7_0-branch).  Formal gdb-7.0 Fedora update should be made soon after the FSF GDB release.

The rebase from Fedora will need some minor .spec adjustments for RHEL as before.
F12 Fedora will need minor fixups for RHEL-5 arches not on Fedora (ia64, s390x).
The rebase will include a full RHEL-5 arches regression test as usual.

Comment 4 Jan Kratochvil 2009-12-21 22:58:08 UTC
Fixed in gdb-7.0-13.el5.

Comment 7 errata-xmlrpc 2010-03-30 08:52:29 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.