From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2188 invoked by alias); 11 Oct 2002 22:56:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 2170 invoked by uid 71); 11 Oct 2002 22:56:00 -0000 Resent-Date: 11 Oct 2002 22:56:00 -0000 Resent-Message-ID: <20021011225600.2169.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, siva@eternal-systems.com Received: (qmail 28371 invoked by uid 61); 11 Oct 2002 22:49:18 -0000 Message-Id: <20021011224918.28370.qmail@sources.redhat.com> Date: Fri, 11 Oct 2002 15:56:00 -0000 From: siva@eternal-systems.com Reply-To: siva@eternal-systems.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c/8203: feature request: include structure/class alignment information into debugging section (stabs) X-SW-Source: 2002-10/txt/msg00492.txt.bz2 List-Id: >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: