From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32494 invoked by alias); 24 Sep 2003 19:53:08 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 32369 invoked from network); 24 Sep 2003 19:53:07 -0000 Received: from unknown (HELO concert.shout.net) (204.253.184.25) by sources.redhat.com with SMTP; 24 Sep 2003 19:53:07 -0000 Received: from duracef.shout.net (duracef.shout.net [204.253.184.12]) by concert.shout.net (8.12.10/8.12.10) with ESMTP id h8OJr5s5003434; Wed, 24 Sep 2003 14:53:05 -0500 Received: from duracef.shout.net (localhost [127.0.0.1]) by duracef.shout.net (8.12.10/8.12.9) with ESMTP id h8OJr5Vd016676; Wed, 24 Sep 2003 14:53:05 -0500 Received: (from mec@localhost) by duracef.shout.net (8.12.10/8.12.9/Submit) id h8OJr47t016675; Wed, 24 Sep 2003 15:53:04 -0400 Date: Wed, 24 Sep 2003 19:53:00 -0000 From: Michael Elizabeth Chastain Message-Id: <200309241953.h8OJr47t016675@duracef.shout.net> To: aph@redhat.com, gcc@gcc.gnu.org Subject: Re: Handling aliases in debug information Cc: gdb@sources.redhat.com X-SW-Source: 2003-09/txt/msg00306.txt.bz2 Both (a) and (c). I have a current problem with anonymous unions also. The gdb test script for anon unions has more FAILs with g++ HEAD than g++ 3.3.1. g++ has an issue with the variable scopes of 'main' in C++. 'main' is special because the standard explicitly allows 'main' to return an 'int' but not have a return statement at the end (which returns a success value). So g++ has a little bit of special code. I started pursuing this a few months ago and got sidetracked because my test program made gcc ICE, and by the time that got fixed, I was working on something else. Can you separate the two issues -- have your 'main' function call a different function with the anonymous union in it. That would help. The gcc people can't fix PR's if I don't file them! After gdb 6.0 ships I will get back to debug info regressions from gcc 3.3.1 to gcc HEAD. Michael C GDB QA Guy