aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/makeusg.adb
diff options
context:
space:
mode:
authorVincent Celier <celier@adacore.com>2010-10-05 11:56:39 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2010-10-05 11:56:39 +0200
commitdfa8a067caa5a7479c19c9aa7f9fc9aa19b19364 (patch)
tree250d36669a9cccada4de830c6bef9b9927ea3d83 /gcc/ada/makeusg.adb
parenta8ef12e56bd1e729917e63ad98c68072d7605f81 (diff)
make.adb (Scan_Make_Arg): Take into account new switch --source-info=file.
2010-10-05 Vincent Celier <celier@adacore.com> * make.adb (Scan_Make_Arg): Take into account new switch --source-info=file. * makeusg.adb: Add line for new switch --source-info=file. * makeutl.ads (Source_Info_Option): New constant String for new builder switch. * prj-conf.adb: Put subprograms in alphabetical order (Process_Project_And_Apply_Config): Read/write an eventual source info file, if necessary. * prj-nmsc.adb (Look_For_Sources.Get_Sources_From_Source_Info): New procedure. (Look_For_Sources): If a source info file was successfully read, get the source data from the data read from the source info file. * prj-util.adb (Source_Info_Table): New table (Source_Info_Project_HTable): New hash table (Create): New procedure (Put (File), Put_Line): New procedures (Write_Source_Info_File): New procedure (Read_Source_Info_File): New procedure (Initialize): New procedure (Source_Info_Of): New procedure (Next): New procedure (Close): When file is an out file, fail if the buffer cannot be written or if the file cannot be close successfully. (Get_Line): Fail if file is an out file * prj-util.ads (Create): New procedure (Put (File), Put_Line): New procedures (Write_Source_Info_File): New procedure (Read_Source_Info_File): New procedure (Source_Info_Data): New record type (Source_Info_Iterator): New private type (Initialize): New procedure (Source_Info_Of): New procedure (Next): New procedure * prj.ads (Project_Tree_Data): New components Source_Info_File_Name and Source_Info_File_Exists. From-SVN: r164975
Diffstat (limited to 'gcc/ada/makeusg.adb')
-rw-r--r--gcc/ada/makeusg.adb7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ada/makeusg.adb b/gcc/ada/makeusg.adb
index 7f8ddb6163d..123907a887b 100644
--- a/gcc/ada/makeusg.adb
+++ b/gcc/ada/makeusg.adb
@@ -313,6 +313,13 @@ begin
Write_Str (" --subdirs=dir real obj/lib/exec dirs are subdirs");
Write_Eol;
+ -- Line for --source-info=
+
+ Write_Str (" ");
+ Write_Str (Makeutl.Source_Info_Option);
+ Write_Str ("file specify a source info file");
+ Write_Eol;
+
-- Line for --unchecked-shared-lib-imports
Write_Str (" ");