This is the mail archive of the gcc@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: problems debugging gcc


Geoff Keating wrote:-

> There's a bug in cc1: it doesn't store file names for statements, only
> line numbers, and so debugging information for functions that have
> lines from multiple files is often wrong.

Hmm, sounds like it's non-trivial to fix and been around forever then.

It also sounds like a good reason to use the line maps and drop the
mucking about with global filename and line number variables, no?

Neil.


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