Bug 84152

Summary: pstruct CFLAGS should use -gstabs by default
Product: [Retired] Red Hat Linux Reporter: Miloslav Trmac <mitr>
Component: perlAssignee: Chip Turner <cturner>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.8.1-90.rc2.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-07-30 02:52:37 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:

Description Miloslav Trmac 2003-02-12 20:55:56 UTC
Description of problem:
pstruct, a tool to dump C struct layout, does so by examining stabs
debugging directives in gcc output. Since 3.2, gcc defaults to
using DWARF2, not stabs, so pstruct doesn't work at all unless
you explicitly set CFLAGS='-gstabs -S'

Version-Release number of selected component (if applicable):
Phoebe 8.0.93 + RHN updates

Steps to Reproduce:
1.pstruct /usr/include/sys/stat.h
2.pstruct CFLAGS='-gstabs -S' /usr/include/sys/stat.h
    
Actual results:
1.no output
2.dump of struct layout, as expected.

Comment 1 Miloslav Trmac 2003-07-30 02:52:37 UTC
This is fixed in severn.