mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-18 18:51:24 +08:00
(main): If PREFERRED_DEBUGGING_TYPE used and set to NO_DEBUG, say
debugging not supported. From-SVN: r13520
This commit is contained in:
parent
5ae3bec5ee
commit
e38eaffd19
@ -3957,6 +3957,10 @@ main (argc, argv, envp)
|
||||
if (type == NO_DEBUG)
|
||||
type = PREFERRED_DEBUGGING_TYPE;
|
||||
|
||||
if (type == NO_DEBUG)
|
||||
warning ("`-%s' not supported by this configuration of GCC",
|
||||
str);
|
||||
|
||||
/* Does it conflict with an already selected type? */
|
||||
if (type_explicitly_set_p
|
||||
/* -g/-ggdb don't conflict with anything */
|
||||
|
Loading…
x
Reference in New Issue
Block a user