Red Hat Bugzilla – Bug 84152
pstruct CFLAGS should use -gstabs by default
Last modified: 2007-04-18 12:51:04 EDT
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:
2.pstruct CFLAGS='-gstabs -S' /usr/include/sys/stat.h
2.dump of struct layout, as expected.
This is fixed in severn.