From ecca38c46700f5fb3c8e996bb312e42396751b0f Mon Sep 17 00:00:00 2001
From: Vincent Celier <celier@adacore.com>
Date: Mon, 4 Jul 2005 15:28:11 +0200
Subject: [PATCH] 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
---
 gcc/ada/make.adb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb
index f320e4f5841e..7e4c80c65cde 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;
-- 
GitLab