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
Showing
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment