preserving comments

Ian Lance Taylor
Tue Nov 30 18:37:00 GMT 2010

Sharanbr <> 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.


More information about the Gcc-help mailing list