This is the mail archive of the
mailing list for the GDB project.
Re: Handling aliases in debug information
- From: Michael Elizabeth Chastain <mec at shout dot net>
- To: aph at redhat dot com, gcc at gcc dot gnu dot org
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 24 Sep 2003 15:53:04 -0400
- Subject: Re: Handling aliases in debug information
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.
GDB QA Guy