preserving comments

Ian Lance Taylor iant@google.com
Tue Nov 30 18:37:00 GMT 2010


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



More information about the Gcc-help mailing list