aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/switch.ads
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2006-02-15 10:36:45 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2006-02-15 10:36:45 +0100
commit61dddae4e72e300597afeff4b081114a25598c5f (patch)
tree21c6aed88c4d5ed4dfbc700b0cbb33b914758de6 /gcc/ada/switch.ads
parent86ac5e79ab137815e463c0b46495551c641e33d8 (diff)
downloadgcc-61dddae4e72e300597afeff4b081114a25598c5f.zip
gcc-61dddae4e72e300597afeff4b081114a25598c5f.tar.gz
gcc-61dddae4e72e300597afeff4b081114a25598c5f.tar.bz2
debug.adb: Eliminate numeric switches for binder/gnatmake
2006-02-13 Robert Dewar <dewar@adacore.com> Vincent Celier <celier@adacore.com> * debug.adb: Eliminate numeric switches for binder/gnatmake * switch-m.adb (Normalize_Compiler_Switches): Record numeric debug switches for the compiler. (Scan_Make_Switches): Do not allow numeric debug switches for gnatmake (Scan_Make_Switches): When failing with an illegal switch, output an error message with the full switch. Eliminate numeric switches for binder/gnatmake * switch.ads, switch.adb (Bad_Switch): New procedure * switch-b.adb (Scan_Binder_Switches): Do not accept combined switches. Remove 0-9 as debug flag character possibilities -d is now controlling the primary stack size when its value is a positive. Also add checks against invalid values, and support for kb, mb. Ditto for -D switch. From-SVN: r111053
Diffstat (limited to 'gcc/ada/switch.ads')
-rw-r--r--gcc/ada/switch.ads1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/switch.ads b/gcc/ada/switch.ads
index 15c273f..dce2f12 100644
--- a/gcc/ada/switch.ads
+++ b/gcc/ada/switch.ads
@@ -86,6 +86,7 @@ private
-- digit of the integer value.
procedure Bad_Switch (Switch : Character);
+ procedure Bad_Switch (Switch : String);
-- Fail with an appropriate message when a switch is not recognized
end Switch;