summaryrefslogtreecommitdiff
path: root/gcc/ada/osint.ads
diff options
context:
space:
mode:
authorJose Ruiz <ruiz@adacore.com>2008-04-08 08:53:51 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2008-04-08 08:53:51 +0200
commitc4dec83faf01d496f3f59eeafebc2a24bb2ad667 (patch)
tree2ba4d971c0b9f3f21c8000b2573e577db180e75a /gcc/ada/osint.ads
parent3f088c35ec0faa8493b938c73443150d75722f63 (diff)
downloadgcc-c4dec83faf01d496f3f59eeafebc2a24bb2ad667.tar.gz
osint.ads, osint.adb (Get_Libraries_From_Registry): Improve documentation.
2008-04-08 Jose Ruiz <ruiz@adacore.com> * osint.ads, osint.adb (Get_Libraries_From_Registry): Improve documentation. Update comments. (Read_Default_Search_Dirs): Do not consider spaces as path separators because spaces may be part of legal paths. From-SVN: r134043
Diffstat (limited to 'gcc/ada/osint.ads')
-rw-r--r--gcc/ada/osint.ads6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ada/osint.ads b/gcc/ada/osint.ads
index 80c516ede69..f2aed1ea03f 100644
--- a/gcc/ada/osint.ads
+++ b/gcc/ada/osint.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2007, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2008, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -110,7 +110,9 @@ package Osint is
-- cross compilation case, looks at the prefix of the current program being
-- run and prepend it to Nam. For instance if the program being run is
-- <target>-gnatmake and Nam is "gcc", the returned value will be a pointer
- -- to "<target>-gcc". This function clobbers Name_Buffer and Name_Len.
+ -- to "<target>-gcc". In the specific case where AAMP_On_Target is set, the
+ -- name "gcc" is mapped to "gnaamp", and names of the form "gnat*" are
+ -- mapped to "gnaamp*". This function clobbers Name_Buffer and Name_Len.
procedure Write_Program_Name;
-- Writes name of program as invoked to the current output