This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]