This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Query about debug info
- From: Leon Taylor <leon_taylor_007 at yahoo dot co dot in>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 2 Apr 2003 08:50:30 +0100 (BST)
- Subject: Query about debug info
Hi Everyone,
I am curious about debugging information generation
for user symbols. From dwarfout.c file, I could deduce
that DECL_RTL, PARM_DECL etc are some of the interface
used to output debug info. (I was looking
at location_or_const_value_attribute () function)
1) Is the same mechanism used for other debugging
formats too?
2) There are some cases in gcc/testsuite/debug
directory which scan generated assembly for "xyzzy"
string. I want to understand the rationale of those
test cases. To be specific let us consider
gcc.dg/debug/debug-6.c.
Why "xyzzy" occur in assembly output (with -g)?
and what if it doesn't come after some code
modification.(Which direction to explore ?)
Thanks and Regards,
Leon.
________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
visit http://in.tv.yahoo.com