Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 84152 - pstruct CFLAGS should use -gstabs by default
Summary: pstruct CFLAGS should use -gstabs by default
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: perl
Version: 9
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Chip Turner
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2003-02-12 20:55 UTC by Miloslav Trmac
Modified: 2007-04-18 16:51 UTC (History)
0 users

Fixed In Version: 5.8.1-90.rc2.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-07-30 02:52:37 UTC

Attachments (Terms of Use)

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: output
2.dump of struct layout, as expected.

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

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