This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Debug information for types questions
- To: gcc at gcc dot gnu dot org
- Subject: Debug information for types questions
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Sun, 22 Jul 2001 18:24:19 +0100
In toplev.c, we have rest_of_type_compilation output type info for
dbx, xcoff, sdb and dwarf2. This appears to be restricted to enum,
struct and union types.
Where is dwarf?
Just above, in rest_of_decl_compilation, we have debug output for
TYPE_DECLs for dbx, xcoff and sdb.
Why is there no overlap with rest_of_type_compilation? Where are
dwarf / dwarf2 handled? In the global_decl loop?
Because of the above, I'm not clear on exactly how to rationalise this
into using a type_decl hook. It would be nice to have all the debug
info treated in the same way at the same time. Is there a fundamental
reason that is not possible here?
Neil.