aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/prj-tree.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2010-09-10 11:45:27 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2010-09-10 11:45:27 +0200
commit38afef28a3c5af53e3c4e582f8a071f2dca91618 (patch)
tree20e2d444c0696d09f6e8ef992b4bc959dce87426 /gcc/ada/prj-tree.ads
parenteafedef3836563374ab1c4509e2a386c8156af7f (diff)
downloadgcc-38afef28a3c5af53e3c4e582f8a071f2dca91618.zip
gcc-38afef28a3c5af53e3c4e582f8a071f2dca91618.tar.gz
gcc-38afef28a3c5af53e3c4e582f8a071f2dca91618.tar.bz2
[multiple changes]
2010-09-10 Emmanuel Briot <briot@adacore.com> * prj-util.adb (Executable_Of): Fix CE when the project does not contain a Builder package. 2010-09-10 Vincent Celier <celier@adacore.com> * prj-ext.adb (Initialize_Project_Path): Add <prefix>/lib/gpr/<target> to the project path, if Prefix and Target_Name are defined. * prj-tree.ads (Project_Node_Tree_Data): New component Target_Name 2010-09-10 Ed Schonberg <schonberg@adacore.com> * checks.adb (Ensure_Valid): If the expression is a boolean expression or short-circuit operation, do no emit a validity check: only the elementary operands of the expression need checking. 2010-09-10 Ben Brosgol <brosgol@adacore.com> * gnat_rm.texi: Document Short_Descriptors. 2010-09-10 Arnaud Charlet <charlet@adacore.com> * s-taprop-linux.adb, s-taskin.ads (Task_Alternate_Stack): Default initialize to Null_Address. (Enter_Task): Do not set up an alternate stack for foreign threads. From-SVN: r164149
Diffstat (limited to 'gcc/ada/prj-tree.ads')
-rw-r--r--gcc/ada/prj-tree.ads8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ada/prj-tree.ads b/gcc/ada/prj-tree.ads
index fa8c132..e4c9583 100644
--- a/gcc/ada/prj-tree.ads
+++ b/gcc/ada/prj-tree.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 2001-2009, Free Software Foundation, Inc. --
+-- Copyright (C) 2001-2010, 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- --
@@ -1470,7 +1470,11 @@ package Prj.Tree is
-- project-tree specific so that one can load the same tree twice but
-- have two views of it, for instance.
- Project_Path : String_Access;
+ Target_Name : String_Access := null;
+ -- The target name, if any, specified with the gprbuild or gprclean
+ -- switch --target=.
+
+ Project_Path : String_Access := null;
-- The project path, manipulated through subprograms in prj-ext.ads.
-- As a special case, if the first character is '#:" or this variable is
-- unset, this means that the PATH has not been fully initialized yet