This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: preserving comments
Sharanbr <sharanb@hcl.com> writes:
> Thanks, Phil. I was thinking on the same lines after briefly going through
> the gcc manual.
> One more thing I thought might be useful is the debug info that gcc puts for
> tools like gdb.
> But I don't have enough knowledge on what exactly is the debug info
> available?
> If you are aware of it, please help me with some pointers ...
The debug info tells you thinks like variable names, types, and
locations, and a mapping from PC to source code location. It doesn't
include source code comments.
Ian