This is the mail archive of the gcc-patches@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] |
Tested on i686-linux, committed on trunk When using gnatprep switch -r with a fullpath for the input file, gnatprep put in the resulting file a pragma Source_Reference with the simple file name, instead of the full path. This may lead to problems, for example when using the debugger. This fix ensures that if a full path was given then the fullpath is in the pragma Source_Reference. The test for this is to call gnatprep -r with a full path for the input file and to check that the pragma Source_Reference contain a full path, not a simple file name. 2007-04-06 Vincent Celier <celier@adacore.com> * gprep.adb (Process_Files.Process_One_File): Use full file name when issuing pragma Source_Reference.
Attachment:
difs
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |