problems debugging gcc
Neil Booth
neil@daikokuya.demon.co.uk
Tue Dec 4 15:37:00 GMT 2001
Geoff Keating wrote:-
> Oh, it's not related to the global variables. If it was just that,
> I'd have fixed it a month ago. Look at STMT_LINENO in c-common.h, and
> notice there is no STMT_FILENAME nor any easy way to add one.
>
> It started around when functions-as-trees was added.
Instead of adding a filename component and taking up more memory,
would it be too much to switch to using a single lineno and using the
line maps to imply the file name? It probably is for a quick patch,
but I might as well try. If it is too much, do you nevertheless agree
that this, and similarly in other places, is worthwhile doing in GCC?
Neil.
More information about the Gcc
mailing list