diff options
Diffstat (limited to 'gdb/mi/mi-parse.c')
-rw-r--r-- | gdb/mi/mi-parse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/mi/mi-parse.c b/gdb/mi/mi-parse.c index e334968..737ec57 100644 --- a/gdb/mi/mi-parse.c +++ b/gdb/mi/mi-parse.c @@ -351,8 +351,7 @@ mi_parse (const char *cmd, char **token) std::string lang_name = extract_arg (&chp); parse->language = language_enum (lang_name.c_str ()); - if (parse->language == language_unknown - || parse->language == language_auto) + if (parse->language == language_unknown) error (_("Invalid --language argument: %s"), lang_name.c_str ()); } else |