+2021-03-29 Tom Tromey <tromey@adacore.com>
+
+ * top.c (check_frame_language_change): Update.
+ * language.c (language_info): Remove parameter.
+ * language.h (language_info): Remove parameter.
+
2021-03-29 Luis Machado <luis.machado@linaro.org>
* compile/compile.c (get_args): Don't add empty argv entries.
}
\f
-/* Print out the current language settings: language, range and
- type checking. If QUIETLY, print only what has changed. */
+/* See language.h. */
void
-language_info (int quietly)
+language_info ()
{
- if (quietly && expected_language == current_language)
+ if (expected_language == current_language)
return;
expected_language = current_language;
printf_unfiltered (_("Current language: %s\n"), language);
show_language_command (NULL, 1, NULL, NULL);
-
- if (!quietly)
- {
- printf_unfiltered (_("Range checking: %s\n"), range);
- show_range_command (NULL, 1, NULL, NULL);
- printf_unfiltered (_("Case sensitivity: %s\n"), case_sensitive);
- show_case_command (NULL, 1, NULL, NULL);
- }
}
\f
(LANG)->la_language == language_cplus || \
(LANG)->la_language == language_objc)
-extern void language_info (int);
+/* Print out the current language settings: language, range and
+ type checking. */
+
+extern void language_info ();
extern enum language set_language (enum language);
\f
{
if (language_mode == language_mode_auto && info_verbose)
{
- language_info (1); /* Print what changed. */
+ /* Print what changed. */
+ language_info ();
}
warned = 0;
}