problems debugging gcc

Neil Booth neil@daikokuya.demon.co.uk
Tue Dec 4 14:31:00 GMT 2001


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.



More information about the Gcc mailing list