aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/make.adb
diff options
context:
space:
mode:
authorVincent Celier <celier@adacore.com>2005-07-04 15:28:11 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2005-07-04 15:28:11 +0200
commitecca38c46700f5fb3c8e996bb312e42396751b0f (patch)
tree013f60c959663dce37302a89a6101e15f388ad15 /gcc/ada/make.adb
parent4a2ddf6697829835a010d159f7803ff13c9943b7 (diff)
downloadgcc-ecca38c46700f5fb3c8e996bb312e42396751b0f.zip
gcc-ecca38c46700f5fb3c8e996bb312e42396751b0f.tar.gz
gcc-ecca38c46700f5fb3c8e996bb312e42396751b0f.tar.bz2
make.adb (Change_To_Object_Directory): When unable to change the current dir to the object directory...
2005-07-04 Vincent Celier <celier@adacore.com> * make.adb (Change_To_Object_Directory): When unable to change the current dir to the object directory, output the full path of the directory. From-SVN: r101580
Diffstat (limited to 'gcc/ada/make.adb')
-rw-r--r--gcc/ada/make.adb6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb
index f320e4f..7e4c80c 100644
--- a/gcc/ada/make.adb
+++ b/gcc/ada/make.adb
@@ -1097,7 +1097,11 @@ package body Make is
-- Fail if unable to change to the object directory
when Directory_Error =>
- Make_Failed ("unable to change to object directory of project " &
+ Make_Failed ("unable to change to object directory """ &
+ Get_Name_String
+ (Project_Tree.Projects.Table
+ (Actual_Project).Object_Directory) &
+ """ of project " &
Get_Name_String (Project_Tree.Projects.Table
(Actual_Project).Display_Name));
end Change_To_Object_Directory;