summaryrefslogtreecommitdiff
path: root/gcc/ada/switch-c.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/switch-c.adb')
-rw-r--r--gcc/ada/switch-c.adb6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/switch-c.adb b/gcc/ada/switch-c.adb
index ba5c9eba4be..d29acf36ebc 100644
--- a/gcc/ada/switch-c.adb
+++ b/gcc/ada/switch-c.adb
@@ -422,6 +422,12 @@ package body Switch.C is
("-gnateD" & Switch_Chars (Ptr .. Max));
Ptr := Max + 1;
+ -- -gnateE (extra exception information)
+
+ when 'E' =>
+ Exception_Extra_Info := True;
+ Ptr := Ptr + 1;
+
-- -gnatef (full source path for brief error messages)
when 'f' =>