summaryrefslogtreecommitdiff
path: root/gcc/ada/gnatdll.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/gnatdll.adb')
-rw-r--r--gcc/ada/gnatdll.adb6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/gnatdll.adb b/gcc/ada/gnatdll.adb
index fdcf6b4c8c0..ada455e1a14 100644
--- a/gcc/ada/gnatdll.adb
+++ b/gcc/ada/gnatdll.adb
@@ -253,6 +253,12 @@ procedure Gnatdll is
end loop;
Close (File);
+
+ exception
+ when Name_Error =>
+ Raise_Exception
+ (Syntax_Error'Identity,
+ "list-of-files file " & List_Filename & " not found.");
end Add_Files_From_List;
-- Start of processing for Parse_Command_Line