This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/8203: feature request: include structure/class alignment information into debugging section (stabs)
- From: siva at eternal-systems dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 11 Oct 2002 22:49:18 -0000
- Subject: c/8203: feature request: include structure/class alignment information into debugging section (stabs)
- Reply-to: siva at eternal-systems dot com
>Number: 8203
>Category: c
>Synopsis: feature request: include structure/class alignment information into debugging section (stabs)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: unassigned
>State: open
>Class: support
>Submitter-Id: net
>Arrival-Date: Fri Oct 11 15:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Siva
>Release: unknown-1.0
>Organization:
>Environment:
all gcc's, all os's
>Description:
Currently gcc does not output the alignment information for structure/class members to the debugging sections. It does output bitpos and bitsize of each structure member. but not the alignment information. It would be great to have the alignment information too.
For instance, if I want to write a function that takes a type-name as its argument and returns the alignment required by the structure, then it is not possible to do so bcos the compiler never outputs this information (so objdump cannot read this at all).
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: