Bug 338231

Summary: PPC function breakpoint too far behind the prologue
Product: Red Hat Enterprise Linux 4 Reporter: Jan Kratochvil <jan.kratochvil>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: cagney
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0717 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-24 19:56:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 140532    
Bug Blocks:    

Comment 1 Jan Kratochvil 2007-10-30 15:53:43 UTC
Patches were now prepared for no regression since RHEL-4.5:

2007-03-13  Daniel Jacobowitz  <dan>

       * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal.
       (rs6000_in_function_epilogue_p): Use extract_unsigned_integer.
       (refine_prologue_limit): Delete.
       (skip_prologue): Don't call it.  Use extract_unsigned_integer.
       Assume lim_pc is set.  Correct check for incomplete prologues.
       Do not skip clobbers of the frame pointer.

[ Backported for GDB-6.3. ]

2006-05-11  Fred Fish  <fnf>

       * symtab.c (skip_prologue_using_sal): Handle single line functions
       like "foo(){}", which may optimize down to a single return inst.

2007-03-13  Daniel Jacobowitz  <dan>

       * symtab.c (skip_prologue_using_sal): Fail if there is only one
       sal. 

2007-04-17  Andreas Schwab  <schwab>

       * symtab.c (skip_prologue_using_sal): Allow the end of the prologue
       sal to be bigger than the end of the function.

2007-10-30  Jan Kratochvil  <jan.kratochvil>

       * symtab.c (skip_prologue_using_sal): Restrict the changes only to PPC
       for RHEL-4.6 Bug 140532.


Comment 2 Andrew Cagney 2007-12-04 20:29:27 UTC
dev-ack+

fix and test result improvement available.

IBM requested unwind enhancements caused minor regression in prologue code; fixing.


Comment 3 RHEL Program Management 2007-12-04 20:35:08 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 4 RHEL Program Management 2007-12-04 20:36:13 UTC
This bugzilla has Keywords: Regression.  

Since no regressions are allowed between releases, 
it is also being proposed as a blocker for this release.  

Please resolve ASAP.

Comment 11 errata-xmlrpc 2008-07-24 19:56:34 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.

http://rhn.redhat.com/errata/RHBA-2008-0717.html